Re: [PATCH][next] ext4: avoid dozens of -Wflex-array-member-not-at-end warnings

From: Theodore Ts'o
Date: Thu Feb 06 2025 - 20:35:59 EST


On Fri, Feb 07, 2025 at 09:39:42AM +1030, Gustavo A. R. Silva wrote:
>
> > Thanks, for this patch! It appears that this patch has since been
> > obviated by Eric Bigger's commit f2b4fa19647e (" ext4: switch to using
> > the crc32c library"), which landed during this merge window, so this
> > patch should not be needed.
>
> Oh, nice! Thanks for letting me know. :)

Yeah, apologiues for not getting back to you earlier. Between travel
and the holidays, I didn't have time to process patches for the merge
window which just closed, so I'm not catching up on the backlog.

In any case, Eric's commit is in 6.14-rc1, so you should see the flex
array warnings from the ext4 checksum inline function.

- Ted