[PATCH v4 00/10] Replace zero length arrays
Morten Brørup
mb at smartsharesystems.com
Tue Nov 21 08:26:06 CET 2023
> From: Stephen Hemminger [mailto:stephen at networkplumber.org]
> Sent: Monday, 20 November 2023 18.07
>
> Zero length arrays are a GNU extension that has been
> superseded by flex arrays.
>
> https://gcc.gnu.org/onlinedocs/gcc/Zero-Length.html
>
> These are places found by cocci/zero_length_array.cocci
>
> v4 - fix issues reported by clang where zero length
> array was embedded in security structures in cn10k
> and txq being embedded in mlx5 was missing extension
Thanks for cleaning this up.
Series-acked-by: Morten Brørup <mb at smartsharesystems.com>
More information about the dev
mailing list