[dpdk-test-report] |WARNING| pw64474 [PATCH v4 10/36] net/i40e/base: improve AQ log granularity

checkpatch at dpdk.org checkpatch at dpdk.org
Mon Jan 13 03:50:19 CET 2020


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

_coding style issues_


CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'buf_len != 0'
#156: 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'
#156: 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, 76 lines checked


More information about the test-report mailing list