[dpdk-test-report] |WARNING| [PATCH v2 20/55] net/sfc: import libefx Rx scatter support
checkpatch at dpdk.org
checkpatch at dpdk.org
Tue Nov 29 17:38:22 CET 2016
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/17327
_coding style issues_
CHECK:CAMELCASE: Avoid CamelCase: <__checkReturn>
#93: FILE: drivers/net/sfc/base/ef10_impl.h:577:
+extern __checkReturn efx_rc_t
ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required
#117: FILE: drivers/net/sfc/base/ef10_rx.c:169:
+ return (0);
ERROR:ASSIGN_IN_IF: do not use assignment in if condition
#293: FILE: drivers/net/sfc/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
#296: FILE: drivers/net/sfc/base/efx_rx.c:233:
+ return (0);
ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required
#300: FILE: drivers/net/sfc/base/efx_rx.c:237:
+ return (rc);
ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required
#344: FILE: drivers/net/sfc/base/efx_rx.c:446:
+ return (0);
ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required
#351: FILE: drivers/net/sfc/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