On Tue, 28 Oct 2025 10:02:16 +0100 Paolo Abeni wrote: > This makes static checker unhappy: > > /home/cocci/testing/include/net/psp/types.h:167:6-18: WARNING use > flexible-array member instead > (https://www.kernel.org/doc/html/latest/process/deprecated.html#zero-length-and-one-element-arrays) > > I think/guess the warning could be avoided using something alike the > following (completely untested!!!):
It's not a VLA, it's an end marker for calculating offsets. The patch is fine, we should have added in the commit msg that the false positive from cocci is expected.

