[dpdk-test-report] |WARNING| pw47488 kni: fix build on Linux < 3.14

checkpatch at dpdk.org checkpatch at dpdk.org
Fri Oct 26 23:41:42 CEST 2018


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

_coding style issues_


WARNING:MEMORY_BARRIER: memory barrier without comment
#45: FILE: kernel/linux/kni/kni_fifo.h:12:
+#define smp_load_acquire(a) (*(a))

ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#48: FILE: kernel/linux/kni/kni_fifo.h:15:
+#define smp_store_release(a, b) *(a) = (b)

WARNING:MEMORY_BARRIER: memory barrier without comment
#48: FILE: kernel/linux/kni/kni_fifo.h:15:
+#define smp_store_release(a, b) *(a) = (b)

total: 1 errors, 2 warnings, 13 lines checked


More information about the test-report mailing list