aboutsummaryrefslogtreecommitdiff
path: root/crypto/tcrypt.c
diff options
context:
space:
mode:
authorGustavo A. R. Silva2023-12-31 16:12:49 +0900
committerGreg Kroah-Hartman2024-01-05 15:18:31 +0100
commit63fbfd212c82761830dc61a4d7876885f7549916 (patch)
tree5e867bd67f05855bc3275f24b0612a88be91ad43 /crypto/tcrypt.c
parente7ab53bd81b044b5301290bae086de83619eb7d2 (diff)
ksmbd: Use struct_size() helper in ksmbd_negotiate_smb_dialect()
[ Upstream commit 5211cc8727ed9701b04976ab47602955e5641bda ] Prefer struct_size() over open-coded versions. Link: https://github.com/KSPP/linux/issues/160 Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org> Reviewed-by: Kees Cook <keescook@chromium.org> Acked-by: Namjae Jeon <linkinjeon@kernel.org> Reviewed-by: Sergey Senozhatsky <senozhatsky@chromium.org> Signed-off-by: Steve French <stfrench@microsoft.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'crypto/tcrypt.c')
0 files changed, 0 insertions, 0 deletions