|WARNING| pw167415 [RFC PATCH v8] pile stack and mempool driver
checkpatch at dpdk.org
checkpatch at dpdk.org
Mon Aug 10 11:04:57 CEST 2026
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/167415
_coding style issues_
WARNING:LONG_LINE: line length of 104 exceeds 100 columns
#254: FILE: app/test/test_stack.c:103:
+ &popped_objs[STACK_SIZE - RTE_STACK_PILE_BULK_SIZE - i],
WARNING:LONG_LINE: line length of 102 exceeds 100 columns
#258: FILE: app/test/test_stack.c:107:
+ popped_objs[STACK_SIZE - RTE_STACK_PILE_BULK_SIZE - i],
WARNING:MACRO_ARG_UNUSED: Argument 'alignment' is not used in function-like macro
#647: 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"
#1234: FILE: lib/stack/rte_stack.h:184:
+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"
#1251: FILE: lib/stack/rte_stack.h:210:
+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"
#1281: FILE: lib/stack/rte_stack_lf.h:37:
+ void * const * __rte_restrict obj_table,
ERROR:POINTER_LOCATION: "foo ** bar" should be "foo **bar"
#1290: 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"
#1312: FILE: lib/stack/rte_stack_lf_c11.h:102:
+ void ** __rte_restrict obj_table,
ERROR:POINTER_LOCATION: "foo ** bar" should be "foo **bar"
#1325: FILE: lib/stack/rte_stack_lf_generic.h:77:
+ void ** __rte_restrict obj_table,
ERROR:POINTER_LOCATION: "foo ** bar" should be "foo **bar"
#1338: FILE: lib/stack/rte_stack_lf_stubs.h:33:
+ void ** __rte_restrict obj_table,
ERROR:POINTER_LOCATION: "foo ** bar" should be "foo **bar"
#1455: FILE: lib/stack/rte_stack_pile.h:67:
+ void ** __rte_restrict obj_table,
ERROR:POINTER_LOCATION: "foo * const * bar" should be "foo * const *bar"
#1495: FILE: lib/stack/rte_stack_pile.h:107:
+ void * const * __rte_restrict obj_table,
ERROR:POINTER_LOCATION: "foo ** bar" should be "foo **bar"
#1580: FILE: lib/stack/rte_stack_pile.h:192:
+ void ** __rte_restrict obj_table,
ERROR:POINTER_LOCATION: "foo * const * bar" should be "foo * const *bar"
#1732: FILE: lib/stack/rte_stack_std.h:23:
+__rte_stack_std_push(struct rte_stack *s, void * const * __rte_restrict obj_table,
ERROR:POINTER_LOCATION: "foo ** bar" should be "foo **bar"
#1738: FILE: lib/stack/rte_stack_std.h:28:
+ void ** __rte_restrict stack_objs;
ERROR:POINTER_LOCATION: "foo ** bar" should be "foo **bar"
#1765: FILE: lib/stack/rte_stack_std.h:62:
+__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"
#1770: FILE: lib/stack/rte_stack_std.h:66:
+ void ** __rte_restrict stack_objs;
total: 14 errors, 3 warnings, 1424 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
More information about the test-report
mailing list