linux_dsm_epyc7002/drivers/media/usb/cpia2
Shyam Saini 9945cf9997 [media] media: usb: cpia2: Use kmemdup instead of kmalloc and memcpy
When some other buffer is immediately copied into allocated region.
Replace calls to kmalloc followed by a memcpy with a direct
call to kmemdup.

Signed-off-by: Shyam Saini <mayhs11saini@gmail.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2017-01-31 07:46:34 -02:00
..
cpia2_core.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
cpia2_registers.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
cpia2_usb.c [media] media: usb: cpia2: Use kmemdup instead of kmalloc and memcpy 2017-01-31 07:46:34 -02:00
cpia2_v4l.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
cpia2.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
Kconfig [media] rename most media/video usb drivers to media/usb 2012-08-15 16:25:07 -03:00
Makefile [media] rename most media/video usb drivers to media/usb 2012-08-15 16:25:07 -03:00