[dpdk-test-report] |WARNING| pw49246 kni: fix build on RHEL8 and RHEL7.6-ALT

checkpatch at dpdk.org checkpatch at dpdk.org
Fri Dec 21 17:29:49 CET 2018


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

_coding style issues_


WARNING:COMMIT_MESSAGE: Missing commit description - Add an appropriate one

WARNING:CONSTANT_COMPARISON: Comparisons should place the constant on the right side of the test
#37: FILE: kernel/linux/kni/compat.h:111:
+	(RHEL_RELEASE_CODE >= RHEL_RELEASE_VERSION(7, 5)) && \

WARNING:CONSTANT_COMPARISON: Comparisons should place the constant on the right side of the test
#38: FILE: kernel/linux/kni/compat.h:112:
+	(RHEL_RELEASE_CODE < RHEL_RELEASE_VERSION(8, 0)) && \

WARNING:CONSTANT_COMPARISON: Comparisons should place the constant on the right side of the test
#39: FILE: kernel/linux/kni/compat.h:113:
+	(LINUX_VERSION_CODE < KERNEL_VERSION(4, 14, 0)))

WARNING:CONSTANT_COMPARISON: Comparisons should place the constant on the right side of the test
#52: FILE: kernel/linux/kni/ethtool/igb/kcompat.h:3933:
+	(RHEL_RELEASE_CODE >= RHEL_RELEASE_VERSION(7, 5)) && \

WARNING:CONSTANT_COMPARISON: Comparisons should place the constant on the right side of the test
#53: FILE: kernel/linux/kni/ethtool/igb/kcompat.h:3934:
+	(RHEL_RELEASE_CODE < RHEL_RELEASE_VERSION(8, 0)) && \

WARNING:CONSTANT_COMPARISON: Comparisons should place the constant on the right side of the test
#54: FILE: kernel/linux/kni/ethtool/igb/kcompat.h:3935:
+	(LINUX_VERSION_CODE < KERNEL_VERSION(4, 14, 0)))

WARNING:NO_AUTHOR_SIGN_OFF: Missing Signed-off-by: line by nominal patch author 'David Zeng <zengxiaoh81 at gmail.com>'

total: 0 errors, 8 warnings, 26 lines checked


More information about the test-report mailing list