* |WARNING| pw145664 [PATCH v8 1/7] eal: add static per-lcore memory allocation facility
[not found] <20241010141349.813088-2-mattias.ronnblom@ericsson.com>
@ 2024-10-10 14:26 ` checkpatch
2024-10-10 14:26 ` |WARNING| pw145664-145663 " qemudev
1 sibling, 0 replies; 2+ messages in thread
From: checkpatch @ 2024-10-10 14:26 UTC (permalink / raw)
To: test-report; +Cc: Mattias Rönnblom
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/145664
_coding style issues_
WARNING:TYPO_SPELLING: 'varibles' may be misspelled - perhaps 'variables'?
#334: FILE: doc/guides/prog_guide/env_abstraction_layer.rst:447:
+Lcore varibles are suitable for small object statically allocated at
ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#725: FILE: lib/eal/include/rte_lcore_var.h:220:
+#define RTE_LCORE_VAR_HANDLE_TYPE(type) \
+ type *
ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#741: FILE: lib/eal/include/rte_lcore_var.h:236:
+#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
#749: FILE: lib/eal/include/rte_lcore_var.h:244:
+#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
#777: FILE: lib/eal/include/rte_lcore_var.h:272:
+#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
#797: FILE: lib/eal/include/rte_lcore_var.h:292:
+#define RTE_LCORE_VAR_INIT(name) \
+ RTE_INIT(rte_lcore_var_init_ ## name) \
+ { \
+ RTE_LCORE_VAR_ALLOC(name); \
+ }
WARNING:TYPO_SPELLING: 'identifer' may be misspelled - perhaps 'identifier'?
#865: FILE: lib/eal/include/rte_lcore_var.h:360:
+ * The pointer returned is only an opaque identifer of the variable. To
total: 5 errors, 2 warnings, 593 lines checked
Please use __rte_cache_aligned only for struct or union types alignment.
^ permalink raw reply [flat|nested] 2+ messages in thread