[dpdk-test-report] |WARNING| pw52427 [PATCH] kni: fix build for ndo_fdb_add in Linux 5.1

checkpatch at dpdk.org checkpatch at dpdk.org
Mon Apr 8 16:23:22 CEST 2019


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

_coding style issues_


ERROR:SPACING: space required after that ',' (ctx:VxV)
#68: FILE: kernel/linux/kni/ethtool/igb/kcompat.h:3948:
+#if ( LINUX_VERSION_CODE >= KERNEL_VERSION(5,1,0) )
                                             ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#68: FILE: kernel/linux/kni/ethtool/igb/kcompat.h:3948:
+#if ( LINUX_VERSION_CODE >= KERNEL_VERSION(5,1,0) )
                                               ^

ERROR:SPACING: space prohibited after that open parenthesis '('
#68: FILE: kernel/linux/kni/ethtool/igb/kcompat.h:3948:
+#if ( LINUX_VERSION_CODE >= KERNEL_VERSION(5,1,0) )

ERROR:SPACING: space prohibited before that close parenthesis ')'
#68: FILE: kernel/linux/kni/ethtool/igb/kcompat.h:3948:
+#if ( LINUX_VERSION_CODE >= KERNEL_VERSION(5,1,0) )

WARNING:CONSTANT_COMPARISON: Comparisons should place the constant on the right side of the test
#68: FILE: kernel/linux/kni/ethtool/igb/kcompat.h:3948:
+#if ( LINUX_VERSION_CODE >= KERNEL_VERSION(5,1,0) )

total: 4 errors, 1 warnings, 23 lines checked


More information about the test-report mailing list