[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <aJxhF38X9dtEtRRG@google.com>
Date: Wed, 13 Aug 2025 09:55:35 +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 v2] platform/chrome: cros_ec: Avoid
-Wflex-array-member-not-at-end warning
On Mon, Aug 11, 2025 at 10:27:22PM +0900, 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.
>
> Use the new TRAILING_OVERLAP() helper to fix the following warning:
>
> drivers/platform/chrome/cros_ec.c:106:40: warning: structure containing a flexible array member is not at the end of another structure [-Wflex-array-member-not-at-end]
>
> [...]
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/chrome-platform/linux.git for-next
[1/1] platform/chrome: cros_ec: Avoid -Wflex-array-member-not-at-end warning
commit: 8abbbbb588f1f1bf95ae56c1531a17520ce487e2
Thanks!
Powered by blists - more mailing lists