[dpdk-test-report] |WARNING| pw19129 [RFC PATCH 05/11] ring: add user-specified typing to typed rings

checkpatch at dpdk.org checkpatch at dpdk.org
Wed Jan 11 16:06:05 CET 2017


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

_coding style issues_


ERROR:SPACING: need consistent spacing around '*' (ctx:WxV)
#197: FILE: lib/librte_ring/rte_typed_ring.h:333:
+TYPE(__ring_mp_do_enqueue)(struct TYPE(ring) *r, RING_TYPE const *obj_table,
                                              ^

ERROR:SPACING: need consistent spacing around '*' (ctx:WxV)
#215: FILE: lib/librte_ring/rte_typed_ring.h:443:
+TYPE(__ring_sp_do_enqueue)(struct TYPE(ring) *r, RING_TYPE const *obj_table,
                                              ^

ERROR:SPACING: need consistent spacing around '*' (ctx:WxV)
#233: FILE: lib/librte_ring/rte_typed_ring.h:526:
+TYPE(__ring_mc_do_dequeue)(struct TYPE(ring) *r, RING_TYPE *obj_table,
                                              ^

ERROR:SPACING: need consistent spacing around '*' (ctx:WxV)
#251: FILE: lib/librte_ring/rte_typed_ring.h:627:
+TYPE(__ring_sc_do_dequeue)(struct TYPE(ring) *r, RING_TYPE *obj_table,
                                              ^

ERROR:SPACING: need consistent spacing around '*' (ctx:WxV)
#269: FILE: lib/librte_ring/rte_typed_ring.h:689:
+TYPE(ring_mp_enqueue_bulk)(struct TYPE(ring) *r, RING_TYPE const *obj_table,
                                              ^

ERROR:SPACING: need consistent spacing around '*' (ctx:WxV)
#291: FILE: lib/librte_ring/rte_typed_ring.h:711:
+TYPE(ring_sp_enqueue_bulk)(struct TYPE(ring) *r, RING_TYPE const *obj_table,
                                              ^

ERROR:SPACING: need consistent spacing around '*' (ctx:WxV)
#313: FILE: lib/librte_ring/rte_typed_ring.h:737:
+TYPE(ring_enqueue_bulk)(struct TYPE(ring) *r, RING_TYPE const *obj_table,
                                           ^

ERROR:SPACING: need consistent spacing around '*' (ctx:WxV)
#330: FILE: lib/librte_ring/rte_typed_ring.h:763:
+TYPE(ring_mp_enqueue)(struct TYPE(ring) *r, RING_TYPE obj)
                                         ^

ERROR:SPACING: need consistent spacing around '*' (ctx:WxV)
#342: FILE: lib/librte_ring/rte_typed_ring.h:782:
+TYPE(ring_sp_enqueue)(struct TYPE(ring) *r, RING_TYPE obj)
                                         ^

ERROR:SPACING: need consistent spacing around '*' (ctx:WxV)
#354: FILE: lib/librte_ring/rte_typed_ring.h:805:
+TYPE(ring_enqueue)(struct TYPE(ring) *r, RING_TYPE obj)
                                      ^

ERROR:SPACING: need consistent spacing around '*' (ctx:WxV)
#379: FILE: lib/librte_ring/rte_typed_ring.h:831:
+TYPE(ring_mc_dequeue_bulk)(struct TYPE(ring) *r, RING_TYPE *obj_table, unsigned int n)
                                              ^

ERROR:SPACING: need consistent spacing around '*' (ctx:WxV)
#400: FILE: lib/librte_ring/rte_typed_ring.h:852:
+TYPE(ring_sc_dequeue_bulk)(struct TYPE(ring) *r, RING_TYPE *obj_table, unsigned int n)
                                              ^

ERROR:SPACING: need consistent spacing around '*' (ctx:WxV)
#421: FILE: lib/librte_ring/rte_typed_ring.h:876:
+TYPE(ring_dequeue_bulk)(struct TYPE(ring) *r, RING_TYPE *obj_table, unsigned int n)
                                           ^

ERROR:SPACING: need consistent spacing around '*' (ctx:WxV)
#445: FILE: lib/librte_ring/rte_typed_ring.h:900:
+TYPE(ring_mc_dequeue)(struct TYPE(ring) *r, RING_TYPE *obj_p)
                                         ^

ERROR:SPACING: need consistent spacing around '*' (ctx:WxV)
#465: FILE: lib/librte_ring/rte_typed_ring.h:918:
+TYPE(ring_sc_dequeue)(struct TYPE(ring) *r, RING_TYPE *obj_p)
                                         ^

ERROR:SPACING: need consistent spacing around '*' (ctx:WxV)
#485: FILE: lib/librte_ring/rte_typed_ring.h:940:
+TYPE(ring_dequeue)(struct TYPE(ring) *r, RING_TYPE *obj_p)
                                      ^

ERROR:SPACING: need consistent spacing around '*' (ctx:WxV)
#501: FILE: lib/librte_ring/rte_typed_ring.h:958:
+TYPE(ring_full)(const struct TYPE(ring) *r)
                                         ^

ERROR:SPACING: need consistent spacing around '*' (ctx:WxV)
#510: FILE: lib/librte_ring/rte_typed_ring.h:975:
+TYPE(ring_empty)(const struct TYPE(ring) *r)
                                          ^

ERROR:SPACING: need consistent spacing around '*' (ctx:WxV)
#519: FILE: lib/librte_ring/rte_typed_ring.h:991:
+TYPE(ring_count)(const struct TYPE(ring) *r)
                                          ^

ERROR:SPACING: need consistent spacing around '*' (ctx:WxV)
#528: FILE: lib/librte_ring/rte_typed_ring.h:1007:
+TYPE(ring_free_count)(const struct TYPE(ring) *r)
                                               ^

ERROR:SPACING: need consistent spacing around '*' (ctx:WxV)
#545: FILE: lib/librte_ring/rte_typed_ring.h:1030:
+TYPE(ring_mp_enqueue_burst)(struct TYPE(ring) *r, RING_TYPE const *obj_table,
                                               ^

ERROR:SPACING: need consistent spacing around '*' (ctx:WxV)
#566: FILE: lib/librte_ring/rte_typed_ring.h:1049:
+TYPE(ring_sp_enqueue_burst)(struct TYPE(ring) *r, RING_TYPE const *obj_table,
                                               ^

ERROR:SPACING: need consistent spacing around '*' (ctx:WxV)
#587: FILE: lib/librte_ring/rte_typed_ring.h:1072:
+TYPE(ring_enqueue_burst)(struct TYPE(ring) *r, RING_TYPE const *obj_table,
                                            ^

ERROR:SPACING: need consistent spacing around '*' (ctx:WxV)
#612: FILE: lib/librte_ring/rte_typed_ring.h:1099:
+TYPE(ring_mc_dequeue_burst)(struct TYPE(ring) *r, RING_TYPE *obj_table, unsigned int n)
                                               ^

ERROR:SPACING: need consistent spacing around '*' (ctx:WxV)
#632: FILE: lib/librte_ring/rte_typed_ring.h:1119:
+TYPE(ring_sc_dequeue_burst)(struct TYPE(ring) *r, RING_TYPE *obj_table, unsigned int n)
                                               ^

ERROR:SPACING: need consistent spacing around '*' (ctx:WxV)
#652: FILE: lib/librte_ring/rte_typed_ring.h:1141:
+TYPE(ring_dequeue_burst)(struct TYPE(ring) *r, RING_TYPE *obj_table, unsigned int n)
                                            ^

ERROR:SPACING: need consistent spacing around '*' (ctx:WxV)
#724: FILE: lib/librte_ring/rte_typed_ring.h:1223:
+TYPE(ring_init)(struct TYPE(ring) *r, const char *name, unsigned int count,
                                   ^

ERROR:SPACING: need consistent spacing around '*' (ctx:WxV)
#784: FILE: lib/librte_ring/rte_typed_ring.h:1305:
+	struct TYPE(ring) *r;
 	                  ^

ERROR:SPACING: need consistent spacing around '*' (ctx:WxV)
#811: FILE: lib/librte_ring/rte_typed_ring.h:1368:
+TYPE(ring_free)(struct TYPE(ring) *r)
                                   ^

ERROR:SPACING: need consistent spacing around '*' (ctx:WxV)
#835: FILE: lib/librte_ring/rte_typed_ring.h:1431:
+TYPE(ring_set_water_mark)(struct TYPE(ring) *r, unsigned int count)
                                             ^

ERROR:SPACING: need consistent spacing around '*' (ctx:WxV)
#844: FILE: lib/librte_ring/rte_typed_ring.h:1453:
+TYPE(ring_dump)(FILE *f, const struct TYPE(ring) *r)
                      ^

ERROR:SPACING: need consistent spacing around '*' (ctx:WxV)
#844: FILE: lib/librte_ring/rte_typed_ring.h:1453:
+TYPE(ring_dump)(FILE *f, const struct TYPE(ring) *r)
                                                  ^

ERROR:SPACING: need consistent spacing around '*' (ctx:WxV)
#864: FILE: lib/librte_ring/rte_typed_ring.h:1512:
+TYPE(ring_list_dump)(FILE *f)
                           ^

ERROR:SPACING: need consistent spacing around '*' (ctx:WxV)
#888: FILE: lib/librte_ring/rte_typed_ring.h:1542:
+	struct TYPE(ring) *r = NULL;
 	                  ^

total: 34 errors, 0 warnings, 774 lines checked


More information about the test-report mailing list