Re: [PATCH][next] smb: Replace one-element array with flexible-array member
From: Namjae Jeon
Date: Wed Jun 21 2023 - 19:37:41 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>
Acked-by: Namjae Jeon <linkinjeon@xxxxxxxxxx>
Thanks!