linux-stable/drivers/media/usb/em28xx
Fuqian Huang 771560e5d3 media: media/usb: Use kmemdup rather than duplicating its implementation
kmemdup is introduced to duplicate a region of memory in a neat way.
Rather than kmalloc/kzalloc + memcpy, which the programmer needs to
write the size twice (sometimes lead to mistakes), kmemdup improves
readability, leads to smaller code and also reduce the chances of mistakes.
Suggestion to use kmemdup rather than using kmalloc/kzalloc + memcpy.

Signed-off-by: Fuqian Huang <huangfq.daxian@gmail.com>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2019-08-14 05:02:43 -03:00
..
em28xx-audio.c media updates for v4.20-rc1 2018-10-29 14:29:58 -07:00
em28xx-camera.c MAINTAINERS & files: Canonize the e-mails I use at files 2018-05-04 06:21:06 -04:00
em28xx-cards.c media: media/usb: Use kmemdup rather than duplicating its implementation 2019-08-14 05:02:43 -03:00
em28xx-core.c media: em28xx-audio: use irqsave() in USB's complete callback 2018-09-10 19:35:46 +02:00
em28xx-dvb.c media: em28xx: Fix dual transport stream operation 2018-07-27 06:39:57 -04:00
em28xx-i2c.c media: usb: fix several typos 2019-03-01 09:43:27 -05:00
em28xx-input.c media: em28xx: use usb_to_input_id() rather than handrolling it 2019-05-29 12:57:37 -04:00
em28xx-reg.h media: usb: fix several typos 2019-03-01 09:43:27 -05:00
em28xx-v4l.h media: update/fix my e-mail on some places 2018-05-10 07:27:15 -04:00
em28xx-vbi.c media: em28xx: Add SPDX license tags where needed 2018-03-06 05:54:52 -05:00
em28xx-video.c media: drivers/media: don't set pix->priv = 0 2019-07-23 08:48:33 -04:00
em28xx.h media: media/usb: don't set description in ENUM_FMT 2019-07-22 14:01:05 -04:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile media: prefix header search paths with $(srctree)/ 2019-05-18 11:49:56 +09:00