]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ksmbd: ipc: use kzalloc_flex and __counted_by
authorRosen Penev <rosenp@gmail.com>
Fri, 6 Mar 2026 06:35:22 +0000 (22:35 -0800)
committerSteve French <stfrench@microsoft.com>
Sun, 12 Apr 2026 23:07:54 +0000 (18:07 -0500)
commit3df614ebc976bb23d2f99734695c1b7ff126d7fc
tree0be2d6a140197f14ab58249c01bb9abc069b9aae
parent95e1d378ce30af134e6abb4db4e2891864467e39
ksmbd: ipc: use kzalloc_flex and __counted_by

The former is just a nice macro and the latter allows runtime analysis
of the allocation and its size.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Acked-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/server/transport_ipc.c