[PATCH v2 00/10] replace zero length arrays

Stephen Hemminger stephen at networkplumber.org
Fri Nov 17 17:18:23 CET 2023


On Fri, 17 Nov 2023 09:31:11 +0100
Morten Brørup <mb at smartsharesystems.com> wrote:

> Series-acked-by: Morten Brørup <mb at smartsharesystems.com>
> 
> Suggest checkpatches to disallow this, if it doesn't already.

Unfortunately, matching this with awk is too hard. Coccinelle can do it
but don't want to introduce dependency on that.

Maybe a compiler flag would be possible, but could not find one.


More information about the dev mailing list