|WARNING| pw139875 [RFC v6 1/6] eal: add static per-lcore memory allocation facility
checkpatch at dpdk.org
checkpatch at dpdk.org
Mon May 6 20:51:43 CEST 2024
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/139875
_coding style issues_
WARNING:TYPO_SPELLING: 'consistenly' may be misspelled - perhaps 'consistently'?
#176:
* In Doxygen, consistenly use @<cmd> (and not \<cmd>).
WARNING:TYPO_SPELLING: 'convience' may be misspelled - perhaps 'convince'?
#177:
* The RTE_LCORE_VAR_GET() and SET() convience access macros
WARNING:TYPO_SPELLING: 'varible' may be misspelled - perhaps 'variable'?
#248: FILE: doc/api/doxy-api-index.md:102:
+ [lcore-varible](@ref rte_lcore_var.h),
ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#574: FILE: lib/eal/include/rte_lcore_var.h:218:
+#define RTE_LCORE_VAR_HANDLE_TYPE(type) \
+ type *
ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#590: FILE: lib/eal/include/rte_lcore_var.h:234:
+#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
#598: FILE: lib/eal/include/rte_lcore_var.h:242:
+#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
#626: FILE: lib/eal/include/rte_lcore_var.h:270:
+#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
#646: FILE: lib/eal/include/rte_lcore_var.h:290:
+#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'?
#710: FILE: lib/eal/include/rte_lcore_var.h:354:
+ * The pointer returned is only an opaque identifer of the variable. To
total: 5 errors, 4 warnings, 490 lines checked
Please use __rte_cache_aligned only for struct or union types alignment.
More information about the test-report
mailing list