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

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Feb 8 19:25:10 CET 2024


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

_coding style issues_


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

WARNING:TYPO_SPELLING: 'satisify' may be misspelled - perhaps 'satisfy'?
#260: FILE: lib/eal/common/eal_common_lcore_var.c:74:
+	 * should satisify alignment requirements of any kind of

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

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

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

ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#538: FILE: lib/eal/include/rte_lcore_var.h:242:
+#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
#544: FILE: lib/eal/include/rte_lcore_var.h:248:
+#define RTE_LCORE_VAR_ALLOC_SZ(name, size)	\
+	name = rte_lcore_var_alloc(size)

ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#558: FILE: lib/eal/include/rte_lcore_var.h:262:
+#define RTE_LCORE_VAR_INIT_SZ(name)					\
+	RTE_INIT(rte_lcore_var_init_ ## name)				\
+	{								\
+		RTE_LCORE_VAR_ALLOC_SZ(name);				\
+	}

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

total: 5 errors, 5 warnings, 470 lines checked


More information about the test-report mailing list