android_kernel_samsung_a7y1.../drivers/media/pci
Nicholas Mc Guire 3f1e893533 media: cx23885: check allocation return
[ Upstream commit a3d7f22ef34ec4206b50ee121384d5c8bebd5591 ]

Checking of kmalloc() seems to have been committed - as
cx23885_dvb_register() is checking for != 0 return, returning
-ENOMEM should be fine here.  While at it address the coccicheck
suggestion to move to kmemdup rather than using kmalloc+memcpy.

Fixes: 46b21bbaa8a8 ("[media] Add support for DViCO FusionHDTV DVB-T Dual Express2")

Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-04-07 13:41:03 +02:00
..
b2c2
bt8xx
cobalt
cx18 media: cx18: update *pos correctly in cx18_read_pos() 2020-04-07 13:40:59 +02:00
cx88
cx23885 media: cx23885: check allocation return 2020-04-07 13:41:03 +02:00
cx25821
ddbridge
dm1105
dt3155
ivtv media: ivtv: update *pos correctly in ivtv_read_pos() 2020-04-07 13:40:58 +02:00
mantis
meye media: fix: media: pci: meye: validate offset to avoid arbitrary access 2020-04-07 12:27:38 +02:00
netup_unidvb
ngene
pluto2
pt1
pt3
saa7134
saa7146
saa7164
smipcie
solo6x10
sta2x11
ttpci
tw68
zoran
Kconfig
Makefile