From: Chuck Lever <chuck.lever@xxxxxxxxxx> On Tue, 04 Feb 2025 13:33:36 +1030, 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 a flexible-array member in the > middle of other structs, we use the `struct_group_tagged()` helper > to create a new tagged `struct posix_acl_hdr`. This structure > groups together all the members of the flexible `struct posix_acl` > except the flexible array. > > [...] Applied to nfsd-testing, thanks! [1/1] fs: nfs: acl: Avoid -Wflex-array-member-not-at-end warning commit: 5aea7cd1e98f11108d019c3b629fce37f526377f -- Chuck Lever