On Fri, 14 Mar 2025 19:00:54 +1030, Gustavo A. R. Silva wrote: > Use the `DEFINE_RAW_FLEX()` helper for an on-stack definition of > a flexible structure where the size of the flexible-array member > is known at compile-time, and refactor the rest of the code, > accordingly. > > So, with these changes, fix the following warning: > > [...] Applied, thanks! [1/1] rtc: Avoid a couple of -Wflex-array-member-not-at-end warnings https://git.kernel.org/abelloni/c/0176188220a7 Best regards, -- Alexandre Belloni, co-owner and COO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com