[dpdk-test-report] |WARNING| pw66405 [PATCH] eal/arm64: remove internal macros

checkpatch at dpdk.org checkpatch at dpdk.org
Mon Mar 9 10:39:53 CET 2020


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

_coding style issues_


ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#86: FILE: lib/librte_eal/common/include/arch/arm/rte_atomic_64.h:22:
+#define rte_mb() asm volatile("dsb sy" : : : "memory")

ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#89: FILE: lib/librte_eal/common/include/arch/arm/rte_atomic_64.h:24:
+#define rte_wmb() asm volatile("dsb st" : : : "memory")

ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#92: FILE: lib/librte_eal/common/include/arch/arm/rte_atomic_64.h:26:
+#define rte_rmb() asm volatile("dsb ld" : : : "memory")

ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#95: FILE: lib/librte_eal/common/include/arch/arm/rte_atomic_64.h:28:
+#define rte_smp_mb() asm volatile("dmb ish" : : : "memory")

ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#98: FILE: lib/librte_eal/common/include/arch/arm/rte_atomic_64.h:30:
+#define rte_smp_wmb() asm volatile("dmb ishst" : : : "memory")

ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#103: FILE: lib/librte_eal/common/include/arch/arm/rte_atomic_64.h:32:
+#define rte_smp_rmb() asm volatile("dmb ishld" : : : "memory")

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

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

total: 8 errors, 0 warnings, 37 lines checked


More information about the test-report mailing list