[dpdk-test-report] |WARNING| pw33071 [PATCH 11/25] net/i40e/base:	fix NVM lock
    checkpatch at dpdk.org 
    checkpatch at dpdk.org
       
    Mon Jan  8 11:52:42 CET 2018
    
    
  
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/33071
_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