mmc: block: change to use kmalloc when copy data from userspace
authoryalin wang <yalin.wang2010@gmail.com>
Thu, 12 Nov 2015 11:27:11 +0000 (19:27 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 22 Dec 2015 10:32:05 +0000 (11:32 +0100)
commit1ff8950c04331883b11c5e0d6db96e2da8b6f8c9
treefecd9cfa6af00958071a530b8ac1dec299d11daf
parent6e1bbc51439705b834688c592e13dfa82e32ff04
mmc: block: change to use kmalloc when copy data from userspace

Use kmalloc instead of kzalloc, as zeroing the memory isn't needed.

Signed-off-by: yalin wang <yalin.wang2010@gmail.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/card/block.c