[dpdk-test-report] |WARNING| pw34696 [PATCH v2] eal/ppc: fix compilation error with a broken else clause

checkpatch at dpdk.org checkpatch at dpdk.org
Tue Jan 30 11:54:32 CET 2018


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

_coding style issues_


ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#54: FILE: lib/librte_eal/common/include/arch/ppc_64/rte_atomic.h:67:
+#define	rte_wmb() asm volatile("lwsync" : : : "memory")

ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#57: FILE: lib/librte_eal/common/include/arch/ppc_64/rte_atomic.h:69:
+#define	rte_wmb() asm volatile("sync" : : : "memory")

ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#66: FILE: lib/librte_eal/common/include/arch/ppc_64/rte_atomic.h:79:
+#define	rte_rmb() asm volatile("lwsync" : : : "memory")

ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#69: FILE: lib/librte_eal/common/include/arch/ppc_64/rte_atomic.h:81:
+#define	rte_rmb() asm volatile("sync" : : : "memory")

total: 4 errors, 0 warnings, 22 lines checked


More information about the test-report mailing list