On Thu, 27 Nov 2025 12:21:14 +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.
> 
> So, in order to avoid ending up with flexible-array members in the
> middle of other structs, we use the `struct_group_tagged()` helper
> to separate the flexible array from the rest of the members in the
> flexible structure. We then use the newly created tagged `struct
> nfp_crypto_req_add_front_hdr` to replace the type of the objects
> causing trouble in a couple of structures.
> 
> [...]

Applied to for-next/hardening, thanks!

[1/1] nfp: tls: Avoid -Wflex-array-member-not-at-end warnings
      https://git.kernel.org/kees/c/cfbb53d25cfa

Take care,

-- 
Kees Cook


Reply via email to