|WARNING| pw136876 [RFC v2 1/5] eal: add static per-lcore memory allocation facility

checkpatch at dpdk.org checkpatch at dpdk.org
Mon Feb 19 10:50:22 CET 2024


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

_coding style issues_


WARNING:TYPO_SPELLING: 'varible' may be misspelled - perhaps 'variable'?
#185: FILE: doc/api/doxy-api-index.md:101:
+  [lcore-varible](@ref rte_lcore_var.h),

WARNING:TYPO_SPELLING: 'endcode' may be misspelled - perhaps 'encode'?
#452: FILE: lib/eal/include/rte_lcore_var.h:146:
+ * ndcode

WARNING:TYPO_SPELLING: 'endcode' may be misspelled - perhaps 'encode'?
#466: FILE: lib/eal/include/rte_lcore_var.h:160:
+ * ndcode

ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#533: FILE: lib/eal/include/rte_lcore_var.h:227:
+#define RTE_LCORE_VAR_HANDLE_TYPE(type)		\
+	type *

ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#549: FILE: lib/eal/include/rte_lcore_var.h:243:
+#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
#555: FILE: lib/eal/include/rte_lcore_var.h:249:
+#define RTE_LCORE_VAR_ALLOC_SIZE_ALIGN(name, size, align)	\
+	name = rte_lcore_var_alloc(size, align)

ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#562: FILE: lib/eal/include/rte_lcore_var.h:256:
+#define RTE_LCORE_VAR_ALLOC_SIZE(name, size)	\
+	name = rte_lcore_var_alloc(size, 0)

ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#576: 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
#592: FILE: lib/eal/include/rte_lcore_var.h:286:
+#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'?
#655: FILE: lib/eal/include/rte_lcore_var.h:349:
+ * The pointer returned is only an opaque identifer of the variable. To

total: 6 errors, 4 warnings, 494 lines checked


More information about the test-report mailing list