Re: [PATCH][next] smb: Replace one-element array with flexible-array member

From: Namjae Jeon
Date: Fri Jun 23 2023 - 23:50:38 EST


2023-06-22 6:12 GMT+09:00, Gustavo A. R. Silva <gustavoars@xxxxxxxxxx>:
> One-element arrays are deprecated, and we are replacing them with flexible
> array members instead. So, replace one-element array with flexible-array
> member in struct smb_negotiate_req.
>
> This results in no differences in binary output.
>
> Link: https://github.com/KSPP/linux/issues/79
> Link: https://github.com/KSPP/linux/issues/317
> Signed-off-by: Gustavo A. R. Silva <gustavoars@xxxxxxxxxx>
Applied it with reviewed/acked-by tags to #ksmbd-for-next-next.

Thanks.