[dpdk-test-report] |WARNING| pw23001 [PATCH] kni: define	HAVE_VF_VLAN_PROTO for SLES12SP3
    checkpatch at dpdk.org 
    checkpatch at dpdk.org
       
    Fri Mar 31 13:33:40 CEST 2017
    
    
  
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/23001
_coding style issues_
ERROR:SPACING: space required after that ',' (ctx:VxV)
#31: FILE: lib/librte_eal/linuxapp/kni/ethtool/igb/kcompat.h:3932:
+#if (( LINUX_VERSION_CODE >= KERNEL_VERSION(4,9,0) ) \
                                              ^
ERROR:SPACING: space required after that ',' (ctx:VxV)
#31: FILE: lib/librte_eal/linuxapp/kni/ethtool/igb/kcompat.h:3932:
+#if (( LINUX_VERSION_CODE >= KERNEL_VERSION(4,9,0) ) \
                                                ^
ERROR:SPACING: space prohibited after that open parenthesis '('
#31: FILE: lib/librte_eal/linuxapp/kni/ethtool/igb/kcompat.h:3932:
+#if (( LINUX_VERSION_CODE >= KERNEL_VERSION(4,9,0) ) \
ERROR:SPACING: space prohibited before that close parenthesis ')'
#31: FILE: lib/librte_eal/linuxapp/kni/ethtool/igb/kcompat.h:3932:
+#if (( LINUX_VERSION_CODE >= KERNEL_VERSION(4,9,0) ) \
WARNING:CONSTANT_COMPARISON: Comparisons should place the constant on the right side of the test
#31: FILE: lib/librte_eal/linuxapp/kni/ethtool/igb/kcompat.h:3932:
+#if (( LINUX_VERSION_CODE >= KERNEL_VERSION(4,9,0) ) \
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#32: FILE: lib/librte_eal/linuxapp/kni/ethtool/igb/kcompat.h:3933:
+    || (defined(CONFIG_SUSE_KERNEL) && \$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#33: FILE: lib/librte_eal/linuxapp/kni/ethtool/igb/kcompat.h:3934:
+       (LINUX_VERSION_CODE >= KERNEL_VERSION(4,4,57))))$
ERROR:SPACING: space required after that ',' (ctx:VxV)
#33: FILE: lib/librte_eal/linuxapp/kni/ethtool/igb/kcompat.h:3934:
+       (LINUX_VERSION_CODE >= KERNEL_VERSION(4,4,57))))
                                               ^
ERROR:SPACING: space required after that ',' (ctx:VxV)
#33: FILE: lib/librte_eal/linuxapp/kni/ethtool/igb/kcompat.h:3934:
+       (LINUX_VERSION_CODE >= KERNEL_VERSION(4,4,57))))
                                                 ^
WARNING:CONSTANT_COMPARISON: Comparisons should place the constant on the right side of the test
#33: FILE: lib/librte_eal/linuxapp/kni/ethtool/igb/kcompat.h:3934:
+       (LINUX_VERSION_CODE >= KERNEL_VERSION(4,4,57))))
total: 6 errors, 4 warnings, 12 lines checked
    
    
More information about the test-report
mailing list