[dpdk-test-report] |WARNING| pw68160 [PATCH RFC v2 1/7] eal: introduce new class of barriers for DMA use cases

checkpatch at dpdk.org checkpatch at dpdk.org
Fri Apr 10 18:42:46 CEST 2020


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

_coding style issues_


ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#116: FILE: lib/librte_eal/arm/include/rte_atomic_64.h:40:
+#define rte_dma_mb() asm volatile("dmb osh" : : : "memory")

ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#118: FILE: lib/librte_eal/arm/include/rte_atomic_64.h:42:
+#define rte_dma_wmb() asm volatile("dmb oshst" : : : "memory")

ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#120: FILE: lib/librte_eal/arm/include/rte_atomic_64.h:44:
+#define rte_dma_rmb() asm volatile("dmb oshld" : : : "memory")

ERROR:C99_COMMENTS: do not use C99 // comments
#135: FILE: lib/librte_eal/include/generic/rte_atomic.h:112:
+///@{

ERROR:C99_COMMENTS: do not use C99 // comments
#162: FILE: lib/librte_eal/include/generic/rte_atomic.h:139:
+///@}

total: 5 errors, 0 warnings, 85 lines checked


More information about the test-report mailing list