summaryrefslogtreecommitdiffstats
path: root/mm/bootmem.c
diff options
context:
space:
mode:
authorzhong jiang <zhongjiang@huawei.com>2018-08-01 00:56:17 +0800
committerJessica Yu <jeyu@kernel.org>2018-08-02 18:03:17 +0200
commit9be936f4b3a2ec101f54cff9cf1a6abf67263c50 (patch)
tree3ee7695f2ee3179bd69b52d1d1b9fbba599cfcf3 /mm/bootmem.c
parent4d58e7034d1971436d44f203cf69d2feb6b82e5c (diff)
downloadblackbird-op-linux-9be936f4b3a2ec101f54cff9cf1a6abf67263c50.tar.gz
blackbird-op-linux-9be936f4b3a2ec101f54cff9cf1a6abf67263c50.zip
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>
Diffstat (limited to 'mm/bootmem.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud