[PATCH v4 07/10] net/mlx5: replace zero length array with flex array

Dariusz Sosnowski dsosnowski at nvidia.com
Thu Nov 23 18:54:15 CET 2023


Hi,

> -----Original Message-----
> From: Stephen Hemminger <stephen at networkplumber.org>
> Sent: Monday, November 20, 2023 18:07
> Subject: [PATCH v4 07/10] net/mlx5: replace zero length array with flex array
> 
> Zero length arrays are GNU extension. Replace with standard flex array.
> 
> Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
> Reviewed-by: Tyler Retzlaff <roretzla at linux.microsoft.com>
> ---
>  drivers/common/mlx5/mlx5_prm.h | 2 +-
>  drivers/net/mlx5/mlx5.h        | 4 ++--
>  drivers/net/mlx5/mlx5_flow.h   | 2 +-
>  drivers/net/mlx5/mlx5_tx.h     | 3 ++-
>  4 files changed, 6 insertions(+), 5 deletions(-)
Look good to me. Thank you.

Acked-by: Dariusz Sosnowski <dsosnowski at nvidia.com>

Best regards,
Dariusz Sosnowski


More information about the dev mailing list