Looks good to me, thanks.

Acked-by: Chaoyong He <[email protected]>

> -----Original Message-----
> From: Stephen Hemminger <[email protected]>
> Sent: Wednesday, November 29, 2023 10:39 AM
> To: [email protected]
> Cc: Stephen Hemminger <[email protected]>; Niklas Söderlund
> <[email protected]>; Tyler Retzlaff
> <[email protected]>; Chaoyong He <[email protected]>
> Subject: [PATCH v5 05/10] net/nfp: replace zero length array with flex array
> 
> Zero length arrays are GNU extension. Replace with standard flex array.
> 
> Signed-off-by: Stephen Hemminger <[email protected]>
> Acked-by: Niklas Söderlund <[email protected]>
> Reviewed-by: Tyler Retzlaff <[email protected]>
> Acked-by: Chaoyong He <[email protected]>
> ---
>  drivers/net/nfp/flower/nfp_flower_cmsg.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/net/nfp/flower/nfp_flower_cmsg.h
> b/drivers/net/nfp/flower/nfp_flower_cmsg.h
> index c2938fb6f63c..f00d2e838d8f 100644
> --- a/drivers/net/nfp/flower/nfp_flower_cmsg.h
> +++ b/drivers/net/nfp/flower/nfp_flower_cmsg.h
> @@ -73,7 +73,7 @@ struct nfp_flower_cmsg_mac_repr {
>               uint8_t info;
>               uint8_t nbi_port;
>               uint8_t phys_port;
> -     } ports[0];
> +     } ports[];
>  };
> 
>  /*
> --
> 2.42.0

Reply via email to