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

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Dec 12 16:30:33 CET 2019


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

_coding style issues_


CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'buf_len != 0'
#153: 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'
#153: 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