diff options
author | Yang Yingliang <yangyingliang@huawei.com> | 2023-07-25 20:31:47 +0800 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2023-08-29 12:30:19 -0500 |
commit | 084ba46fc41c21ba827fd92e61f78def7a6e52ea (patch) | |
tree | 1444bb049ce98eb27ceb6563b3213adb2d52c934 /fs/smb/client/smb2misc.c | |
parent | 2dde18cd1d8fac735875f2e4987f11817cc0bc2c (diff) |
ksmbd: switch to use kmemdup_nul() helper
Use kmemdup_nul() helper instead of open-coding to
simplify the code.
Acked-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/smb/client/smb2misc.c')
0 files changed, 0 insertions, 0 deletions