[dpdk-test-report] |WARNING| pw31450 [PATCH] net/i40e: determine	number of queues per VF during run time
    checkpatch at dpdk.org 
    checkpatch at dpdk.org
       
    Fri Nov 17 11:02:55 CET 2017
    
    
  
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/31450
_coding style issues_
CHECK:MACRO_ARG_REUSE: Macro argument reuse 'n' - possible side-effects?
#59: FILE: drivers/net/i40e/i40e_ethdev.c:3978:
+#define IS_POWER_OF_2(n)			(n && !(n & (n - 1)))
CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'errno != 0'
#97: FILE: drivers/net/i40e/i40e_ethdev.c:4016:
+			if ((errno != 0) || (end == pv))
CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'end == pv'
#97: FILE: drivers/net/i40e/i40e_ethdev.c:4016:
+			if ((errno != 0) || (end == pv))
CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'value <= 16'
#99: FILE: drivers/net/i40e/i40e_ethdev.c:4018:
+			if ((value <= 16) && (IS_POWER_OF_2(value)))
total: 0 errors, 0 warnings, 4 checks, 99 lines checked
    
    
More information about the test-report
mailing list