[dpdk-test-report] |WARNING| pw63445 [PATCH 17/69] net/i40e/base: change condition checks

checkpatch at dpdk.org checkpatch at dpdk.org
Mon Dec 2 09:01:42 CET 2019


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

_coding style issues_


CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'buf_len != 0'
#80: FILE: drivers/net/i40e/base/i40e_common.c:339:
+	if (buffer && (buf_len != 0) && (len != 0) &&
 	    (effective_mask & I40E_DEBUG_AQ_DESC_BUFFER)) {

CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'len != 0'
#80: FILE: drivers/net/i40e/base/i40e_common.c:339:
+	if (buffer && (buf_len != 0) && (len != 0) &&
 	    (effective_mask & I40E_DEBUG_AQ_DESC_BUFFER)) {

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


More information about the test-report mailing list