Re: [PATCH][next] RDMA/uverbs: Avoid -Wflex-array-member-not-at-end warnings

Leon Romanovsky
2024-03-03T13:41:53Z

On Fri, 01 Mar 2024 12:37:45 -0600, Gustavo A. R. Silva wrote:
> -Wflex-array-member-not-at-end is coming in GCC-14, and we are getting
> ready to enable it globally.
>
> There are currently a couple of objects (`alloc_head` and `bundle`) in
> `struct bundle_priv` that contain a couple of flexible structures:
>
> struct bundle_priv {
> /* Must be first */
> struct bundle_alloc_head alloc_head;
>
> [...]

Applied, thanks!

[1/1] RDMA/uverbs: Avoid -Wflex-array-member-not-at-end warnings
https://git.kernel.org/rdma/rdma/c/155f04366e3cad

Best regards,
--
Leon Romanovsky <leon@kernel.org>