Re: [PATCH][next] net/mlx5e: Avoid a hundred -Wflex-array-member-not-at-end warnings

From: Saeed Mahameed
Date: Thu Feb 20 2025 - 16:49:45 EST


On 20 Feb 10:26, Jakub Kicinski wrote:
On Thu, 6 Feb 2025 15:07:07 +1030 Gustavo A. R. Silva wrote:>
Here is another alternative for this. And similarly to the struct_group_tagged()
change above, no struct members should be added before or after `struct
mlx5e_umr_wqe_hdr hdr;` in `struct mlx5e_umr_wqe`:

Gustavo, could you submit this officially?


Can we have struct mlx5e_umr_wq_hdr defined anonymously within
mlx5e_umr_wqe? Let's avoid namespace pollution.