WSL2-Linux-Kernel/drivers/media/i2c/cx25840
Pan Bian 35378ce143 [media] cx25840: fix unchecked return values
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>
2017-06-06 07:30:11 -03:00
..
Kconfig [media] move i2c files into drivers/media/i2c 2012-08-15 16:42:14 -03:00
Makefile [media] move i2c files into drivers/media/i2c 2012-08-15 16:42:14 -03:00
cx25840-audio.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
cx25840-core.c [media] cx25840: fix unchecked return values 2017-06-06 07:30:11 -03:00
cx25840-core.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
cx25840-firmware.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
cx25840-ir.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
cx25840-vbi.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00