|WARNING| pw167090 [RFC PATCH v5] pile stack and mempool driver
checkpatch at dpdk.org
checkpatch at dpdk.org
Sun Aug 2 09:25:54 CEST 2026
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/167090
_coding style issues_
WARNING:IF_0: Consider removing the code enclosed by this #if 0 and its #endif
#201: 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
#530: 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"
#1100: 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"
#1117: 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"
#1147: FILE: lib/stack/rte_stack_lf.h:37:
+ void * const * __rte_restrict obj_table,
ERROR:POINTER_LOCATION: "foo ** bar" should be "foo **bar"
#1156: 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"
#1178: FILE: lib/stack/rte_stack_lf_c11.h:102:
+ void ** __rte_restrict obj_table,
ERROR:POINTER_LOCATION: "foo ** bar" should be "foo **bar"
#1191: FILE: lib/stack/rte_stack_lf_generic.h:77:
+ void ** __rte_restrict obj_table,
ERROR:POINTER_LOCATION: "foo ** bar" should be "foo **bar"
#1204: FILE: lib/stack/rte_stack_lf_stubs.h:33:
+ void ** __rte_restrict obj_table,
ERROR:POINTER_LOCATION: "foo ** bar" should be "foo **bar"
#1320: FILE: lib/stack/rte_stack_pile.h:67:
+ void ** __rte_restrict obj_table,
ERROR:POINTER_LOCATION: "foo * const * bar" should be "foo * const *bar"
#1354: FILE: lib/stack/rte_stack_pile.h:101:
+ void * const * __rte_restrict obj_table,
ERROR:POINTER_LOCATION: "foo ** bar" should be "foo **bar"
#1439: FILE: lib/stack/rte_stack_pile.h:186:
+ void ** __rte_restrict obj_table,
ERROR:POINTER_LOCATION: "foo * const * bar" should be "foo * const *bar"
#1584: 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"
#1590: FILE: lib/stack/rte_stack_std.h:28:
+ void ** __rte_restrict stack_objs;
ERROR:POINTER_LOCATION: "foo ** bar" should be "foo **bar"
#1617: 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"
#1622: 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