Files
linux/drivers
Nicholas Mc Guire 2a55f0985d 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>
2018-11-21 09:25:56 +01:00
..
2018-07-22 14:27:36 +02:00
2018-11-13 11:16:56 -08:00
2018-02-25 11:05:55 +01:00
2018-08-22 07:47:14 +02:00
2017-09-09 17:39:41 +02:00
2018-08-24 13:12:32 +02:00
2016-09-20 20:57:12 +10:00
2018-11-10 07:43:00 -08:00
2018-11-13 11:17:04 -08:00
2018-11-13 11:17:02 -08:00
2018-10-03 17:01:42 -07:00
2018-11-10 07:42:58 -08:00