* |WARNING| pw145815 [PATCH v11 1/7] eal: add static per-lcore memory allocation facility
[not found] <20241014074348.821962-2-mattias.ronnblom@ericsson.com>
@ 2024-10-14 7:53 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2024-10-14 7:53 UTC (permalink / raw)
To: test-report; +Cc: Mattias Rönnblom
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/145815
_coding style issues_
ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#832: FILE: lib/eal/include/rte_lcore_var.h:222:
+#define RTE_LCORE_VAR_HANDLE_TYPE(type) \
+ type *
ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#847: FILE: lib/eal/include/rte_lcore_var.h:237:
+#define RTE_LCORE_VAR_HANDLE(type, name) \
+ RTE_LCORE_VAR_HANDLE_TYPE(type) name
ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#855: FILE: lib/eal/include/rte_lcore_var.h:245:
+#define RTE_LCORE_VAR_ALLOC_SIZE_ALIGN(handle, size, align) \
+ handle = rte_lcore_var_alloc(size, align)
ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#883: FILE: lib/eal/include/rte_lcore_var.h:273:
+#define RTE_LCORE_VAR_INIT_SIZE_ALIGN(name, size, align) \
+ RTE_INIT(rte_lcore_var_init_ ## name) \
+ { \
+ RTE_LCORE_VAR_ALLOC_SIZE_ALIGN(name, size, align); \
+ }
ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#903: FILE: lib/eal/include/rte_lcore_var.h:293:
+#define RTE_LCORE_VAR_INIT(name) \
+ RTE_INIT(rte_lcore_var_init_ ## name) \
+ { \
+ RTE_LCORE_VAR_ALLOC(name); \
+ }
total: 5 errors, 0 warnings, 684 lines checked
Please use __rte_cache_aligned only for struct or union types alignment.
^ permalink raw reply [flat|nested] only message in thread