]> www.infradead.org Git - users/willy/xarray.git/commit
ksmbd: Replace one-element arrays with flexible-array members
authorThorsten Blum <thorsten.blum@toblux.com>
Fri, 16 Aug 2024 17:33:39 +0000 (19:33 +0200)
committerSteve French <stfrench@microsoft.com>
Sun, 18 Aug 2024 22:02:36 +0000 (17:02 -0500)
commit7c525dddbee71880e654ad44f3917787a4f6042c
tree3181701b0740c7824669f8515bfec8038ec48cbc
parent4fdd8664c8a94411a01d11d5ed2f083f105f570a
ksmbd: Replace one-element arrays with flexible-array members

Replace the deprecated one-element arrays with flexible-array members
in the structs filesystem_attribute_info and filesystem_device_info.

There are no binary differences after this conversion.

Link: https://github.com/KSPP/linux/issues/79
Signed-off-by: Thorsten Blum <thorsten.blum@toblux.com>
Reviewed-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Acked-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/server/smb2pdu.c
fs/smb/server/smb_common.h