|WARNING| pw167087 [RFC PATCH v2] NEW: pile stack and mempool driver
checkpatch at dpdk.org
checkpatch at dpdk.org
Sat Aug 1 12:10:28 CEST 2026
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/167087
_coding style issues_
WARNING:MACRO_ARG_UNUSED: Argument 'alignment' is not used in function-like macro
#518: 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"
#1088: 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"
#1105: 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"
#1135: FILE: lib/stack/rte_stack_lf.h:37:
+ void * const * __rte_restrict obj_table,
ERROR:POINTER_LOCATION: "foo ** bar" should be "foo **bar"
#1144: 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"
#1166: FILE: lib/stack/rte_stack_lf_c11.h:102:
+ void ** __rte_restrict obj_table,
ERROR:POINTER_LOCATION: "foo ** bar" should be "foo **bar"
#1179: FILE: lib/stack/rte_stack_lf_generic.h:77:
+ void ** __rte_restrict obj_table,
ERROR:POINTER_LOCATION: "foo ** bar" should be "foo **bar"
#1192: FILE: lib/stack/rte_stack_lf_stubs.h:33:
+ void ** __rte_restrict obj_table,
ERROR:POINTER_LOCATION: "foo ** bar" should be "foo **bar"
#1315: FILE: lib/stack/rte_stack_pile.h:72:
+ void ** __rte_restrict obj_table,
ERROR:POINTER_LOCATION: "foo * const * bar" should be "foo * const *bar"
#1349: FILE: lib/stack/rte_stack_pile.h:106:
+ void * const * __rte_restrict obj_table,
ERROR:POINTER_LOCATION: "foo ** bar" should be "foo **bar"
#1434: FILE: lib/stack/rte_stack_pile.h:191:
+ void ** __rte_restrict obj_table,
ERROR:POINTER_LOCATION: "foo * const * bar" should be "foo * const *bar"
#1589: 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"
#1595: FILE: lib/stack/rte_stack_std.h:28:
+ void ** __rte_restrict stack_objs;
ERROR:POINTER_LOCATION: "foo ** bar" should be "foo **bar"
#1624: 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"
#1630: 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