[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <aBrO1X0F1ZOz66Ot@google.com>
Date: Wed, 7 May 2025 03:09:09 +0000
From: Tzung-Bi Shih <tzungbi@...nel.org>
To: "Gustavo A. R. Silva" <gustavoars@...nel.org>
Cc: Benson Leung <bleung@...omium.org>, Guenter Roeck <groeck@...omium.org>,
chrome-platform@...ts.linux.dev, linux-kernel@...r.kernel.org,
linux-hardening@...r.kernel.org
Subject: Re: [PATCH][next] platform/chrome: Avoid
-Wflex-array-member-not-at-end
On Tue, May 06, 2025 at 03:14:01PM -0600, Gustavo A. R. Silva wrote:
> -Wflex-array-member-not-at-end was introduced in GCC-14, and we are
> getting ready to enable it, globally.
>
> Move the conflicting declaration to the end of the structure. Notice
> that `struct cros_ec_command` is a flexible structure --a structure
> that contains a flexible-array member.
>
> [...]
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/chrome-platform/linux.git for-next
[1/1] platform/chrome: Avoid -Wflex-array-member-not-at-end
commit: 3e552ccf405c0dea6339988202a564357249c437
Thanks!
Powered by blists - more mailing lists