[dpdk-test-report] |WARNING| pw33320 [PATCH v3 11/24] net/i40e/base: fix NVM lock

checkpatch at dpdk.org checkpatch at dpdk.org
Wed Jan 10 04:39:33 CET 2018


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

_coding style issues_


CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'hw->aq.api_maj_ver > 1'
#40: FILE: drivers/net/i40e/base/i40e_adminq.c:698:
+	if ((hw->aq.api_maj_ver > 1) ||
+	    ((hw->aq.api_maj_ver == 1) &&
+	     (hw->aq.api_min_ver >= 5)))

CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'hw->aq.api_maj_ver == 1'
#40: FILE: drivers/net/i40e/base/i40e_adminq.c:698:
+	if ((hw->aq.api_maj_ver > 1) ||
+	    ((hw->aq.api_maj_ver == 1) &&
+	     (hw->aq.api_min_ver >= 5)))

CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'hw->aq.api_min_ver >= 5'
#40: FILE: drivers/net/i40e/base/i40e_adminq.c:698:
+	if ((hw->aq.api_maj_ver > 1) ||
+	    ((hw->aq.api_maj_ver == 1) &&
+	     (hw->aq.api_min_ver >= 5)))

total: 0 errors, 0 warnings, 3 checks, 47 lines checked


More information about the test-report mailing list