Files
Pan Bian 40343d06f7 cx25840: fix unchecked return values
[ Upstream commit 35378ce143 ]

In functions cx25840_initialize(), cx231xx_initialize(), and
cx23885_initialize(), the return value of create_singlethread_workqueue()
is used without validation. This may result in NULL dereference and cause
kernel crash. This patch fixes it.

Signed-off-by: Pan Bian <bianpan2016@163.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-04-13 19:50:18 +02:00
..
…
…
…
…
…
2017-02-01 08:30:53 +01:00
…
…
…
…
…
…
2015-11-09 15:11:24 -08:00
…
…
…
…
…
…