[dpdk-test-report] |WARNING| pw31672 [PATCH V6 1/3] eal/arm64: remove the braces {} for dmb() and dsb()

checkpatch at dpdk.org checkpatch at dpdk.org
Mon Nov 27 12:26:14 CET 2017


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

_coding style issues_


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

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

total: 2 errors, 0 warnings, 10 lines checked


More information about the test-report mailing list