Skip to content
Commit 084ba46f authored by Yang Yingliang's avatar Yang Yingliang Committed by Steve French
Browse files

ksmbd: switch to use kmemdup_nul() helper



Use kmemdup_nul() helper instead of open-coding to
simplify the code.

Acked-by: default avatarNamjae Jeon <linkinjeon@kernel.org>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
Signed-off-by: default avatarSteve French <stfrench@microsoft.com>
parent 2dde18cd
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment