linux/drivers/media/pci
Nicholas Mc Guire b3ad2c5249 media: pci: cx23885: handle adding to list failure
[ Upstream commit c5d59528e2 ]

altera_hw_filt_init() which calls append_internal() assumes
that the node was successfully linked in while in fact it can
silently fail. So the call-site needs to set return to -ENOMEM
on append_internal() returning NULL and exit through the err path.

Fixes: 349bcf02e3 ("[media] Altera FPGA based CI driver module")

Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2018-11-21 09:19:10 +01:00
..
b2c2 media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
bt8xx media: dvb: represent min/max/step/tolerance freqs in Hz 2018-08-02 18:10:48 -04:00
cobalt media: pci: cobalt: Replace GFP_ATOMIC with GFP_KERNEL in cobalt_probe() 2018-07-27 08:12:15 -04:00
cx18 media: cx18: remove redundant zero check on retval 2018-06-28 07:54:03 -04:00
cx88 media: pci: cx88: Replace mdelay() with msleep() in dvb_register() 2018-07-27 08:15:18 -04:00
cx23885 media: pci: cx23885: handle adding to list failure 2018-11-21 09:19:10 +01:00
cx25821 media: pci: cx25821: Replace mdelay() with msleep() 2018-07-27 08:14:30 -04:00
ddbridge media: dvb: represent min/max/step/tolerance freqs in Hz 2018-08-02 18:10:48 -04:00
dm1105 media: dm1105: Limit number of cards to avoid buffer over read 2018-08-02 18:53:42 -04:00
dt3155 media: Remove depends on HAS_DMA in case of platform dependency 2018-05-28 16:17:08 -04:00
intel media: Remove depends on HAS_DMA in case of platform dependency 2018-05-28 16:17:08 -04:00
ivtv media: pci: ivtv: Replace GFP_ATOMIC with GFP_KERNEL 2018-07-27 08:15:55 -04:00
mantis media: dvb: represent min/max/step/tolerance freqs in Hz 2018-08-02 18:10:48 -04:00
meye docs: Fix some broken references 2018-06-15 18:10:01 -03:00
netup_unidvb media: netup_unidvb: don't check number of messages in the driver 2018-07-27 06:39:57 -04:00
ngene media: dvb-frontends/stv0910: make TS speed configurable 2018-05-28 17:46:04 -04:00
pluto2 media: fix usage of whitespaces and on indentation 2018-01-04 13:12:01 -05:00
pt1 media: pci/pt1: suppress compiler warning in xtensa arch 2018-07-30 08:51:28 -04:00
pt3 media: Revert cleanup ktime_set() usage 2018-05-09 16:31:06 -04:00
saa7134 treewide: Use array_size() in vzalloc() 2018-06-12 16:19:22 -07:00
saa7146 media: replace all <spaces><tab> occurrences 2018-01-04 13:15:05 -05:00
saa7164 media: saa7164: fix return codes for the polling routine 2018-08-08 10:57:14 -04:00
smipcie media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
solo6x10 media: Remove depends on HAS_DMA in case of platform dependency 2018-05-28 16:17:08 -04:00
sta2x11 media: sta2x11: add a missing parameter description 2018-08-07 06:13:36 -04:00
ttpci media: dvb: fix location of get_dvb_firmware script 2018-06-15 18:10:01 -03:00
tw68 media: tw68: fix kernel-doc markups 2017-11-30 04:18:56 -05:00
tw686x media: tw686x: Fix oops on buffer alloc failure 2018-07-25 08:34:28 -04:00
tw5864 media: Remove depends on HAS_DMA in case of platform dependency 2018-05-28 16:17:08 -04:00
Kconfig media: zoran: move to staging in preparation for removal 2018-05-25 15:21:36 -04:00
Makefile media: zoran: move to staging in preparation for removal 2018-05-25 15:21:36 -04:00