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

checkpatch at dpdk.org checkpatch at dpdk.org
Mon Jul 10 23:30:47 CEST 2023


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

_coding style issues_


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

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

total: 2 errors, 0 warnings, 20 lines checked


More information about the test-report mailing list