[dpdk-test-report] |WARNING| pw50217 [28/38] net/sfc/base: add support for the Rx event mode w/o continue

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


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

_coding style issues_


CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'no_cont_ev == B_TRUE'
#198: FILE: drivers/net/sfc/base/ef10_rx.c:52:
+	if ((no_cont_ev == B_TRUE) && (disable_scatter == B_FALSE)) {

CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'disable_scatter == B_FALSE'
#198: FILE: drivers/net/sfc/base/ef10_rx.c:52:
+	if ((no_cont_ev == B_TRUE) && (disable_scatter == B_FALSE)) {

ERROR:ASSIGN_IN_IF: do not use assignment in if condition
#250: FILE: drivers/net/sfc/base/ef10_rx.c:1136:
+	if ((rc = efx_mcdi_init_rxq(enp, ndescs, eep, label, index,

total: 1 errors, 0 warnings, 2 checks, 224 lines checked


More information about the test-report mailing list