|WARNING| pw167091 [RFC PATCH v6] pile stack and mempool driver
checkpatch at dpdk.org
checkpatch at dpdk.org
Sun Aug 2 12:00:32 CEST 2026
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/167091
_coding style issues_
WARNING:IF_0: Consider removing the code enclosed by this #if 0 and its #endif
#205: FILE: app/test/test_stack.c:172:
+#if 0 /* FIXME: Omitted. Doesn't compile [-Warray-bounds=]. Write an obfuscated method. */
WARNING:MACRO_ARG_UNUSED: Argument 'alignment' is not used in function-like macro
#508: 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:183:
+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:209:
+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"
#1309: FILE: lib/stack/rte_stack_pile.h:67:
+ void ** __rte_restrict obj_table,
ERROR:POINTER_LOCATION: "foo * const * bar" should be "foo * const *bar"
#1343: FILE: lib/stack/rte_stack_pile.h:101:
+ void * const * __rte_restrict obj_table,
ERROR:POINTER_LOCATION: "foo ** bar" should be "foo **bar"
#1428: FILE: lib/stack/rte_stack_pile.h:186:
+ void ** __rte_restrict obj_table,
ERROR:POINTER_LOCATION: "foo * const * bar" should be "foo * const *bar"
#1578: 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"
#1584: FILE: lib/stack/rte_stack_std.h:28:
+ void ** __rte_restrict stack_objs;
ERROR:POINTER_LOCATION: "foo ** bar" should be "foo **bar"
#1611: 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"
#1616: FILE: lib/stack/rte_stack_std.h:66:
+ void ** __rte_restrict stack_objs;
total: 14 errors, 2 warnings, 1338 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