Skip to content
Commit 14446f9a authored by Zhang Xiaoxu's avatar Zhang Xiaoxu Committed by Christoph Hellwig
Browse files

nvmet-auth: use kmemdup instead of kmalloc + memcpy



For code neat purpose, we can use kmemdup to replace
kmalloc + memcpy.

Signed-off-by: default avatarZhang Xiaoxu <zhangxiaoxu5@huawei.com>
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
parent 9317d001
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