[dpdk-test-report] |WARNING| [PATCH 20/56] net/sfc: import libefx Rx scatter support

checkpatch at dpdk.org checkpatch at dpdk.org
Mon Nov 21 16:02:50 CET 2016


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

_coding style issues_


CHECK:CAMELCASE: Avoid CamelCase: <__checkReturn>
#84: FILE: drivers/net/sfc/efx/base/ef10_impl.h:577:
+extern	__checkReturn	efx_rc_t

ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required
#108: FILE: drivers/net/sfc/efx/base/ef10_rx.c:169:
+	return (0);

ERROR:ASSIGN_IN_IF: do not use assignment in if condition
#284: FILE: drivers/net/sfc/efx/base/efx_rx.c:230:
+	if ((rc = erxop->erxo_scatter_enable(enp, buf_size)) != 0)

ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required
#287: FILE: drivers/net/sfc/efx/base/efx_rx.c:233:
+	return (0);

ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required
#291: FILE: drivers/net/sfc/efx/base/efx_rx.c:237:
+	return (rc);

ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required
#335: FILE: drivers/net/sfc/efx/base/efx_rx.c:446:
+	return (0);

ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required
#342: FILE: drivers/net/sfc/efx/base/efx_rx.c:453:
+	return (rc);

total: 6 errors, 0 warnings, 1 checks, 248 lines checked


More information about the test-report mailing list