[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <173159220756.521904.14770235209517754981.b4-ty@mit.edu>
Date: Thu, 14 Nov 2024 08:53:36 -0500
From: "Theodore Ts'o" <tytso@....edu>
To: Jan Kara <jack@...e.com>, "Gustavo A. R. Silva" <gustavoars@...nel.org>
Cc: "Theodore Ts'o" <tytso@....edu>, linux-ext4@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-hardening@...r.kernel.org
Subject: Re: [PATCH v2][next] jbd2: Avoid dozens of -Wflex-array-member-not-at-end warnings
On Fri, 01 Nov 2024 14:45:23 -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.
>
> Use the `DEFINE_RAW_FLEX()` helper for an on-stack definition of
> a flexible structure (`struct shash_desc`) where the size of the
> flexible-array member (`__ctx`) is known at compile-time, and
> refactor the rest of the code, accordingly.
>
> [...]
Applied, thanks!
[1/1] jbd2: Avoid dozens of -Wflex-array-member-not-at-end warnings
commit: 2bd9077b6261b8f1281d0fa74d51afe090319263
Best regards,
--
Theodore Ts'o <tytso@....edu>
Powered by blists - more mailing lists