[dpdk-test-report] |WARNING| pw50213 [21/38] net/sfc/base: round number of queue buffers up

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Feb 7 17:31:37 CET 2019


Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/50213

_coding style issues_


ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required
#39: FILE: drivers/net/sfc/base/efx_ev.c:191:
+	return (EFX_DIV_ROUND_UP(efx_evq_size(enp, ndescs), EFX_BUF_SIZE));

ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required
#52: FILE: drivers/net/sfc/base/efx_rx.c:784:
+	return (EFX_DIV_ROUND_UP(efx_rxq_size(enp, ndescs), EFX_BUF_SIZE));

ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required
#65: FILE: drivers/net/sfc/base/efx_tx.c:315:
+	return (EFX_DIV_ROUND_UP(efx_txq_size(enp, ndescs), EFX_BUF_SIZE));

total: 3 errors, 0 warnings, 0 checks, 24 lines checked


More information about the test-report mailing list