automatic DPDK test reports
 help / color / mirror / Atom feed
* |WARNING| pw144129 [PATCH v5 1/7] eal: add static per-lcore memory allocation facility
       [not found] <20240917143239.724069-2-mattias.ronnblom@ericsson.com>
@ 2024-09-17 14:43 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2024-09-17 14:43 UTC (permalink / raw)
  To: test-report; +Cc: Mattias Rönnblom

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

_coding style issues_


WARNING:TYPO_SPELLING: 'varibles' may be misspelled - perhaps 'variables'?
#314: FILE: doc/guides/prog_guide/env_abstraction_layer.rst:451:
+Lcore varibles are suitable for small object statically allocated at

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

ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#714: FILE: lib/eal/include/rte_lcore_var.h:235:
+#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
#722: FILE: lib/eal/include/rte_lcore_var.h:243:
+#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
#750: FILE: lib/eal/include/rte_lcore_var.h:271:
+#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
#770: FILE: lib/eal/include/rte_lcore_var.h:291:
+#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'?
#834: FILE: lib/eal/include/rte_lcore_var.h:355:
+ * The pointer returned is only an opaque identifer of the variable. To

total: 5 errors, 2 warnings, 582 lines checked
Please use __rte_cache_aligned only for struct or union types alignment.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-09-17 14:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20240917143239.724069-2-mattias.ronnblom@ericsson.com>
2024-09-17 14:43 ` |WARNING| pw144129 [PATCH v5 1/7] eal: add static per-lcore memory allocation facility checkpatch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).