[PATCH v2 00/10] replace zero length arrays
    Morten Brørup 
    mb at smartsharesystems.com
       
    Fri Nov 17 09:31:11 CET 2023
    
    
  
> From: Stephen Hemminger [mailto:stephen at 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.cocci
Series-acked-by: Morten Brørup <mb at smartsharesystems.com>
Suggest checkpatches to disallow this, if it doesn't already.
    
    
More information about the dev
mailing list