[dpdk-test-report] |WARNING| pw57506 [PATCH] net/ixgbe: fix offset value check

checkpatch at dpdk.org checkpatch at dpdk.org
Wed Aug 7 09:23:47 CEST 2019


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

_coding style issues_


CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'offset == 0x0'
#33: FILE: drivers/net/ixgbe/base/ixgbe_common.c:5043:
+	if ((offset == 0x0) || (offset == NVM_INVALID_PTR))

CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'offset == NVM_INVALID_PTR'
#33: FILE: drivers/net/ixgbe/base/ixgbe_common.c:5043:
+	if ((offset == 0x0) || (offset == NVM_INVALID_PTR))

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


More information about the test-report mailing list