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

From: Leon Romanovsky
Date: Sun Mar 03 2024 - 08:42:02 EST



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@xxxxxxxxxx>