Skip to content
Snippets Groups Projects
user avatar
Wen Yang authored
kmemdup has implemented the function that kmalloc() + memcpy().
We prefer to kmemdup rather than code opened implementation.

This issue was detected with the help of coccinelle.

Signed-off-by: default avatarWen Yang <wen.yang99@zte.com.cn>
CC: Tomoki Sekiyama <tomoki.sekiyama@gmail.com>
CC: linux-kernel@vger.kernel.org
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+samsung@kernel.org>
0f4bb108
History
Name Last commit Last update