commit | 9be936f4b3a2ec101f54cff9cf1a6abf67263c50 | [log] [tgz] |
---|---|---|
author | zhong jiang <zhongjiang@huawei.com> | Wed Aug 01 00:56:17 2018 +0800 |
committer | Jessica Yu <jeyu@kernel.org> | Thu Aug 02 18:03:17 2018 +0200 |
tree | 3ee7695f2ee3179bd69b52d1d1b9fbba599cfcf3 | |
parent | 4d58e7034d1971436d44f203cf69d2feb6b82e5c [diff] |
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>