[PATCH v5 00/10] Replace zero length arrays
Thomas Monjalon
thomas at monjalon.net
Tue Jan 23 11:48:11 CET 2024
29/11/2023 03:39, Stephen Hemminger:
> 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
>
> v5 - revised version of dpaxx ip_hdr fix
> rebase to 23.11
>
> Stephen Hemminger (10):
> member: replace zero length array with flex array
> cryptodev: replace zero length array with flex array
> security: replace zero length array with flex array
> pipeline: replace zero length array with flex array
> net/nfp: replace zero length array with flex array
> net/enic: replace zero length array with flex array
> net/mlx5: replace zero length array with flex array
> pdcp: replace zero length array with flex array
> net/cpfl: replace zero length array with flex array
> common/dpaxx: replace zero length array
There is no more left with
devtools/cocci.sh devtools/cocci/zero_length_array.cocci
Applied, thanks.
More information about the dev
mailing list