[dpdk-test-report] |WARNING| pw24905 [PATCH] kni: fix compilation under RHEL 7.4.

checkpatch at dpdk.org checkpatch at dpdk.org
Wed May 31 17:42:13 CEST 2017


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

_coding style issues_


WARNING:CONSTANT_COMPARISON: Comparisons should place the constant on the right side of the test
#31: FILE: lib/librte_eal/linuxapp/kni/compat.h:56:
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 7, 0) || \

WARNING:CONSTANT_COMPARISON: Comparisons should place the constant on the right side of the test
#33: FILE: lib/librte_eal/linuxapp/kni/compat.h:58:
+	 RHEL_RELEASE_CODE >= RHEL_RELEASE_VERSION(7, 4))

total: 0 errors, 2 warnings, 10 lines checked


More information about the test-report mailing list