linux_dsm_epyc7002/drivers/media
Fuqian Huang 48059784eb media: media/tuners: 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:03:11 -03:00
..
cec media: cec-notifier: add new notifier functions 2019-06-27 07:19:43 -04:00
common media: v4l2-tpg: add support for new pixelformats 2019-07-30 12:16:45 -04:00
dvb-core media: don't drop front-end reference count for ->detach 2019-08-04 06:33:11 -03:00
dvb-frontends media: zd1301_demod: don't check retval after our own assignemt 2019-08-13 11:48:32 -03:00
firewire treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
i2c media: i2c: Convert to new i2c device probe() 2019-08-13 11:54:04 -03:00
mc Linux 5.2-rc4 2019-06-11 12:09:28 -04:00
mmc treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
pci media: ngene: Remove call to memset after pci_alloc_consistent 2019-08-13 11:54:39 -03:00
platform media: exynos4-is: Remove call to memset after dma_alloc_coherent 2019-08-13 11:54:57 -03:00
radio media: radio: si470x: Convert to new i2c device probe() 2019-08-13 11:52:08 -03:00
rc media: Remove dev_err() usage after platform_get_irq() 2019-08-07 17:08:33 -03:00
spi Linux 5.2-rc4 2019-06-11 12:09:28 -04:00
tuners media: media/tuners: Use kmemdup rather than duplicating its implementation 2019-08-14 05:03:11 -03:00
usb media: media/usb: Use kmemdup rather than duplicating its implementation 2019-08-14 05:02:43 -03:00
v4l2-core media: v4l2-common: add support for new RGB32 pixelformats 2019-07-30 12:17:08 -04:00
Kconfig media: Don't default-enable "ancillary driver autoselect" if EMBEDDED 2019-07-25 11:48:22 -04:00
Makefile media: move drivers/media/media-* to drivers/media/mc/mc-* 2019-05-28 12:15:46 -04:00