linux/drivers/media/usb/siano
Wen Yang 0f4bb10857 media: siano: Use kmemdup instead of duplicating its function
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: Wen Yang <wen.yang99@zte.com.cn>
CC: Tomoki Sekiyama <tomoki.sekiyama@gmail.com>
CC: linux-kernel@vger.kernel.org
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2018-12-07 09:42:18 -05:00
..
Kconfig [media] siano: fix Kconfig dependencies 2015-02-02 11:08:02 -02:00
Makefile media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
smsusb.c media: siano: Use kmemdup instead of duplicating its function 2018-12-07 09:42:18 -05:00