]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ksmbd: Replace one-element arrays with flexible-array members
authorThorsten Blum <thorsten.blum@toblux.com>
Tue, 20 Aug 2024 19:15:20 +0000 (21:15 +0200)
committerSteve French <stfrench@microsoft.com>
Sat, 21 Sep 2024 03:16:11 +0000 (22:16 -0500)
commit8bb04fb2b7e346ffcf00164b91129ab151ceaa46
tree4b1747c4e84619e110bdcd307403e58b2fb14535
parent289ebd9afeb94862d96c89217068943f1937df5b
ksmbd: Replace one-element arrays with flexible-array members

Replace the deprecated one-element arrays with flexible-array members
in the structs copychunk_ioctl_req and smb2_ea_info_req.

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>
Acked-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/server/smb2pdu.c
fs/smb/server/smb2pdu.h