|WARNING| pw131806 [PATCH] eal: fix location of per lcore macro documentation

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Sep 21 20:15:08 CEST 2023


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

_coding style issues_


ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#71: FILE: lib/eal/include/rte_per_lcore.h:28:
+#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
#74: FILE: lib/eal/include/rte_per_lcore.h:31:
+#define RTE_DECLARE_PER_LCORE(type, name)			\
+	extern __declspec(thread) typeof(type) per_lcore_##name

total: 2 errors, 0 warnings, 31 lines checked


More information about the test-report mailing list