|WARNING| pw167088 [RFC PATCH v3] NEW: pile stack and mempool driver

checkpatch at dpdk.org checkpatch at dpdk.org
Sat Aug 1 12:18:28 CEST 2026


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

_coding style issues_


WARNING:MACRO_ARG_UNUSED: Argument 'alignment' is not used in function-like macro
#519: FILE: lib/eal/include/rte_common.h:574:
+#define __rte_assume_aligned(ptr, alignment) (ptr)

ERROR:POINTER_LOCATION: "foo * const * bar" should be "foo * const *bar"
#1089: FILE: lib/stack/rte_stack.h:180:
+rte_stack_push(struct rte_stack *s, void * const * __rte_restrict obj_table, unsigned int n)

ERROR:POINTER_LOCATION: "foo ** bar" should be "foo **bar"
#1106: FILE: lib/stack/rte_stack.h:206:
+rte_stack_pop(struct rte_stack *s, void ** __rte_restrict obj_table, unsigned int n)

ERROR:POINTER_LOCATION: "foo * const * bar" should be "foo * const *bar"
#1136: FILE: lib/stack/rte_stack_lf.h:37:
+		    void * const * __rte_restrict obj_table,

ERROR:POINTER_LOCATION: "foo ** bar" should be "foo **bar"
#1145: FILE: lib/stack/rte_stack_lf.h:74:
+__rte_stack_lf_pop(struct rte_stack *s, void ** __rte_restrict obj_table,

ERROR:POINTER_LOCATION: "foo ** bar" should be "foo **bar"
#1167: FILE: lib/stack/rte_stack_lf_c11.h:102:
+			 void ** __rte_restrict obj_table,

ERROR:POINTER_LOCATION: "foo ** bar" should be "foo **bar"
#1180: FILE: lib/stack/rte_stack_lf_generic.h:77:
+			 void ** __rte_restrict obj_table,

ERROR:POINTER_LOCATION: "foo ** bar" should be "foo **bar"
#1193: FILE: lib/stack/rte_stack_lf_stubs.h:33:
+			 void ** __rte_restrict obj_table,

ERROR:POINTER_LOCATION: "foo ** bar" should be "foo **bar"
#1316: FILE: lib/stack/rte_stack_pile.h:72:
+		void ** __rte_restrict obj_table,

ERROR:POINTER_LOCATION: "foo * const * bar" should be "foo * const *bar"
#1350: FILE: lib/stack/rte_stack_pile.h:106:
+		void * const * __rte_restrict obj_table,

ERROR:POINTER_LOCATION: "foo ** bar" should be "foo **bar"
#1435: FILE: lib/stack/rte_stack_pile.h:191:
+		void ** __rte_restrict obj_table,

ERROR:POINTER_LOCATION: "foo * const * bar" should be "foo * const *bar"
#1590: FILE: lib/stack/rte_stack_std.h:24:
+__rte_stack_std_push(struct rte_stack *s, void * const * __rte_restrict obj_table,

ERROR:POINTER_LOCATION: "foo ** bar" should be "foo **bar"
#1596: FILE: lib/stack/rte_stack_std.h:28:
+	void ** __rte_restrict stack_objs;

ERROR:POINTER_LOCATION: "foo ** bar" should be "foo **bar"
#1625: FILE: lib/stack/rte_stack_std.h:60:
+__rte_stack_std_pop(struct rte_stack *s, void ** __rte_restrict obj_table, unsigned int n)

ERROR:POINTER_LOCATION: "foo ** bar" should be "foo **bar"
#1631: FILE: lib/stack/rte_stack_std.h:64:
+	void ** __rte_restrict stack_objs;

total: 14 errors, 1 warnings, 1366 lines checked
Warning in lib/mempool/rte_mempool.c:
Using rte_panic/rte_exit
Warning in lib/stack/rte_stack_pile.h:
Adding __rte_always_inline; prefer plain inline
Warning in app/test/test_stack.c:
Using compilers pragma is not allowed


More information about the test-report mailing list