[dpdk-test-report] |WARNING| pw31397 [PATCH 08/53] net/sfc/base: simplify NVRAM type to partition mappings

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Nov 16 09:05:25 CET 2017


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

_coding style issues_


CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'entry->nvtype == type'
#150: FILE: drivers/net/sfc/base/ef10_nvram.c:2194:
+			if ((entry->nvtype == type) &&
+			    (entry->port_mask & (1u << emip->emi_port))) {

CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'entry->partn == partn'
#161: FILE: drivers/net/sfc/base/ef10_nvram.c:2224:
+			if ((entry->partn == partn) &&
+			    (entry->port_mask & (1u << emip->emi_port))) {

total: 0 errors, 0 warnings, 2 checks, 136 lines checked


More information about the test-report mailing list