kernel_samsung_a53x/drivers/media/pci/cx23885
Hans Verkuil 57ae01a6d3 media: pci: cx23885: check cx23885_vdev_init() return
[ Upstream commit 15126b916e39b0cb67026b0af3c014bfeb1f76b3 ]

cx23885_vdev_init() can return a NULL pointer, but that pointer
is used in the next line without a check.

Add a NULL pointer check and go to the error unwind if it is NULL.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Reported-by: Sicong Huang <huangsicong@iie.ac.cn>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-23 23:20:45 +01:00
..
altera-ci.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
altera-ci.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cimax2.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cimax2.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cx23885-417.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cx23885-alsa.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cx23885-av.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cx23885-av.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cx23885-cards.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cx23885-core.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cx23885-dvb.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cx23885-f300.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cx23885-f300.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cx23885-i2c.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cx23885-input.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cx23885-input.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cx23885-ioctl.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cx23885-ioctl.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cx23885-ir.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cx23885-ir.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cx23885-reg.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cx23885-vbi.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cx23885-video.c media: pci: cx23885: check cx23885_vdev_init() return 2024-11-23 23:20:45 +01:00
cx23885-video.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cx23885.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cx23888-ir.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cx23888-ir.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
netup-eeprom.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
netup-eeprom.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
netup-init.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
netup-init.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00