Re: [RFC] rtc: Avoid a couple of -Wflex-array-member-not-at-end warnings

2025-03-11 Thread Tzung-Bi Shih
On Mon, Mar 10, 2025 at 03:46:26PM +1030, Gustavo A. R. Silva wrote: > Hi all, > > As part of the efforts to globally enable -Wflex-array-member-not-at-end, > I'm currently trying to fix the following warnings: > > drivers/rtc/rtc-cros-ec.c:62:40: warning: structure containing a flexible > array

[RFC] rtc: Avoid a couple of -Wflex-array-member-not-at-end warnings

2025-03-09 Thread Gustavo A. R. Silva
Hi all, As part of the efforts to globally enable -Wflex-array-member-not-at-end, I'm currently trying to fix the following warnings: drivers/rtc/rtc-cros-ec.c:62:40: warning: structure containing a flexible array member is not at the end of another structure [-Wflex-array-member-not-at-end] dri