[dpdk-test-report] |WARNING| pw50219 [18/38] net/sfc/base: support different Tx descriptor sizes

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Feb 7 17:35:02 CET 2019


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

_coding style issues_


WARNING:SPACING: space prohibited between function name and open parenthesis '('
#44: FILE: drivers/net/sfc/base/ef10_impl.h:22:
+#define	EF10_TXQ_DESC_SIZE	(sizeof (efx_qword_t))

CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'esmp == NULL'
#61: FILE: drivers/net/sfc/base/ef10_tx.c:46:
+	if ((esmp == NULL) ||
+	    (EFSYS_MEM_SIZE(esmp) < efx_txq_size(enp, ndescs))) {

CHECK:CAMELCASE: Avoid CamelCase: <__checkReturn>
#100: FILE: drivers/net/sfc/base/efx.h:2661:
+extern	__checkReturn	size_t

CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#101: FILE: drivers/net/sfc/base/efx.h:2662:
+efx_txq_size(

CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#106: FILE: drivers/net/sfc/base/efx.h:2667:
+efx_txq_nbufs(

CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#122: FILE: drivers/net/sfc/base/efx_tx.c:301:
+efx_txq_size(

CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#132: FILE: drivers/net/sfc/base/efx_tx.c:311:
+efx_txq_nbufs(

WARNING:SPACING: space prohibited between function name and open parenthesis '('
#189: FILE: drivers/net/sfc/base/siena_impl.h:37:
+#define	SIENA_TXQ_DESC_SIZE	(sizeof (efx_qword_t))

total: 0 errors, 2 warnings, 6 checks, 125 lines checked


More information about the test-report mailing list