[PATCH v2 0/4] more replacement of zero length array
Tyler Retzlaff
roretzla at linux.microsoft.com
Mon Feb 12 23:36:02 CET 2024
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
v2:
* added additional patches for fib & pipeline libs.
series-acks have been placed only against original
hash and rcu patches.
Tyler Retzlaff (4):
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
lib/fib/dir24_8.h | 2 +-
lib/fib/trie.h | 2 +-
lib/hash/rte_thash.c | 4 ++--
lib/pipeline/rte_pipeline.h | 2 +-
lib/rcu/rcu_qsbr_pvt.h | 2 +-
5 files changed, 6 insertions(+), 6 deletions(-)
--
1.8.3.1
More information about the dev
mailing list