|WARNING| pw129453 [PATCH v2] eal: provide per lcore macros for MSVC

checkpatch at dpdk.org checkpatch at dpdk.org
Tue Jul 11 17:54:04 CEST 2023


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

_coding style issues_


ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#86: FILE: lib/eal/include/rte_per_lcore.h:42:
+#define RTE_DEFINE_PER_LCORE(type, name)			\
+	__thread __typeof__(type) per_lcore_##name

ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#89: FILE: lib/eal/include/rte_per_lcore.h:45:
+#define RTE_DECLARE_PER_LCORE(type, name)			\
 	extern __thread __typeof__(type) per_lcore_##name

total: 2 errors, 0 warnings, 28 lines checked


More information about the test-report mailing list