Re: [PATCH v2 00/10] replace zero length arrays

2023-11-17 Thread Tyler Retzlaff
On Fri, Nov 17, 2023 at 08:18:23AM -0800, Stephen Hemminger wrote: > On Fri, 17 Nov 2023 09:31:11 +0100 > Morten Brørup wrote: > > > Series-acked-by: Morten Brørup > > > > Suggest checkpatches to disallow this, if it doesn't already. > > Unfortunately, matching this with awk is too hard. Cocci

RE: [PATCH v2 00/10] replace zero length arrays

2023-11-17 Thread Morten Brørup
> From: Stephen Hemminger [mailto:step...@networkplumber.org] > Sent: Friday, 17 November 2023 05.03 > > 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