[PATCH v2 0/4] more replacement of zero length array
Stephen Hemminger
stephen at networkplumber.org
Mon Feb 12 23:57:24 CET 2024
On Mon, 12 Feb 2024 14:36:02 -0800
Tyler Retzlaff <roretzla at linux.microsoft.com> wrote:
> 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(-)
>
Series-acked-by: Stephen Hemminger <stephen at networkplumber.org>
More information about the dev
mailing list