Skip to content

more replacement of zero length array

Tyler Retzlaff dpdk-dev 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest6 patches 4 repliesIn review
  2. v46 patches 3 repliesSuperseded
  3. v36 patches 2 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v24 patches8 repliesSuperseded
v12 patches5 repliesSuperseded

Changes in v5 from the cover letter

* no changes, rebase for upstream merge / conflicts.

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6hash: replace zero length array with flex arraylib/hash/rte_thash.c+2 -21 reply
2/6rcu: replace zero length array with flex arraydevtools/libabigail.abignore lib/rcu/rcu_qsbr_pvt.h lib/rcu/rte_rcu_qsbr.h+5 -20 replies
3/6fib: replace zero length array with flex arraylib/fib/dir24_8.h lib/fib/trie.h+2 -21 reply
4/6pipeline: replace zero length array with flex arraydevtools/libabigail.abignore lib/pipeline/rte_pipeline.h lib/pipeline/rte_port_in_action.c+4 -20 replies
5/6lpm: replace zero length array with flex arraylib/lpm/rte_lpm6.c+1 -11 reply
6/6table: replace zero length array with flex arraylib/table/rte_table_acl.c lib/table/rte_table_array.c lib/table/rte_table_hash_cuckoo.c +7 more+10 -100 replies

Reviews trailers per patch

All 6 patches have a Reviewed-by or Acked-by.

PatchHonnappa NagarahalliMorten BrørupChengwen FengStephen HemmingerVladimir Medvedkin
1/6R-b R-b A-b A-b A-b
2/6R-b R-b A-b A-b
3/6R-b A-b A-b
4/6R-b A-b
5/6R-b A-b
6/6R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 5 reviewers.

Read the v5 thread

Cover letter [PATCH v5 0/6] more replacement of zero length array

Replace some missed zero length arrays not captured in the original series.
https://patchwork.dpdk.org/project/dpdk/list/?series=30410&state=*

Zero length arrays are a GNU extension that has been superseded by flex arrays.

https://gcc.gnu.org/onlinedocs/gcc/Zero-Length.html

v5:
* no changes, rebase for upstream merge / conflicts.

v4:
* add another temporary suppression of libabigail bug for rte_rcu_qsbr. As with pipeline i cannot see that rte_rcu_qsbr is nested in any other struct.

v3:
* add temporary suppression of libabigail bug

    https://sourceware.org/bugzilla/show_bug.cgi?id=31377

* add 2 more patches covering lpm and table (series ack has not been extended)
* add another zero length array missed in rcu and pipeline

v2:
* added additional patches for fib & pipeline libs. series-acks have been placed only against original hash and rcu patches.

Tyler Retzlaff (6):
hash: replace zero length array with flex array
rcu: replace zero length array with flex array
fib: replace zero length array with flex array
pipeline: replace zero length array with flex array
lpm: replace zero length array with flex array
table: replace zero length array with flex array

 devtools/libabigail.abignore      | 5 +++++
 lib/fib/dir24_8.h                 | 2 +-
 lib/fib/trie.h                    | 2 +-
 lib/hash/rte_thash.c              | 4 ++--
 lib/lpm/rte_lpm6.c                | 2 +-
 lib/pipeline/rte_pipeline.h       | 2 +-
 lib/pipeline/rte_port_in_action.c | 2 +-
 lib/rcu/rcu_qsbr_pvt.h            | 2 +-
 lib/rcu/rte_rcu_qsbr.h            | 2 +-
 lib/table/rte_table_acl.c         | 2 +-
 lib/table/rte_table_array.c       | 2 +-
 lib/table/rte_table_hash_cuckoo.c | 2 +-
 lib/table/rte_table_hash_ext.c    | 2 +-
 lib/table/rte_table_hash_key16.c  | 2 +-
 lib/table/rte_table_hash_key32.c  | 2 +-
 lib/table/rte_table_hash_key8.c   | 2 +-
 lib/table/rte_table_hash_lru.c    | 2 +-
 lib/table/rte_table_lpm.c         | 2 +-
 lib/table/rte_table_lpm_ipv6.c    | 2 +-
 19 files changed, 24 insertions(+), 19 deletions(-)
Signature · 1 line
1.8.3.1