Messages in this thread | | | Date | Sat, 21 Mar 2020 16:21:52 +0100 | From | Pavel Machek <> | Subject | Re: [PATCH][next] leds: leds-pwm: Replace zero-length array with flexible-array member |
| |
Hi!
> "Flexible array members have incomplete type, and so the sizeof operator > may not be applied. As a quirk of the original implementation of > zero-length arrays, sizeof evaluates to zero."[1] > > This issue was found with the help of Coccinelle.
I applied both. I'll be unhappy if they break anything. Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html [unhandled content-type:application/pgp-signature] | |