[dpdk-test-report] |WARNING| pw50200 [02/38] net/sfc/base: update external port number calculation

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


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

_coding style issues_


CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'base != EFX_EXT_PORT_NA'
#295: FILE: drivers/net/sfc/base/ef10_nic.c:1731:
+			if ((base != EFX_EXT_PORT_NA) && (base <= port)) {

CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'base <= port'
#295: FILE: drivers/net/sfc/base/ef10_nic.c:1731:
+			if ((base != EFX_EXT_PORT_NA) && (base <= port)) {

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


More information about the test-report mailing list