kernel/module: Use kmemdup to replace kmalloc+memcpy
we prefer to the kmemdup rather than kmalloc+memcpy. so just replace them. Signed-off-by:zhong jiang <zhongjiang@huawei.com> Signed-off-by:
Jessica Yu <jeyu@kernel.org>
Showing
Please register or sign in to comment