[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <174225080420.1592452.18415523185009670787.b4-ty@bootlin.com>
Date: Mon, 17 Mar 2025 23:33:33 +0100
From: Alexandre Belloni <alexandre.belloni@...tlin.com>
To: Benson Leung <bleung@...omium.org>, Guenter Roeck <groeck@...omium.org>,
Tzung-Bi Shih <tzungbi@...nel.org>,
"Gustavo A. R. Silva" <gustavoars@...nel.org>
Cc: linux-rtc@...r.kernel.org, chrome-platform@...ts.linux.dev,
linux-kernel@...r.kernel.org, linux-hardening@...r.kernel.org
Subject: Re: [PATCH v2][next] rtc: Avoid a couple of
-Wflex-array-member-not-at-end warnings
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
Powered by blists - more mailing lists