linux/drivers/media/pci/cx23885
Hans Verkuil 15126b916e media: pci: cx23885: check cx23885_vdev_init() return
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>
2024-02-05 12:57:44 +01:00
..
altera-ci.c
altera-ci.h
cimax2.c
cimax2.h
cx23885-417.c media: videobuf2: core: Rename min_buffers_needed field in vb2_queue 2023-12-13 17:31:27 +01:00
cx23885-alsa.c
cx23885-av.c
cx23885-av.h
cx23885-cards.c
cx23885-core.c media: cx23885: debug cosmetics 2023-08-10 07:58:36 +02:00
cx23885-dvb.c media: videobuf2: core: Rename min_buffers_needed field in vb2_queue 2023-12-13 17:31:27 +01:00
cx23885-f300.c
cx23885-f300.h
cx23885-i2c.c
cx23885-input.c
cx23885-input.h
cx23885-ioctl.c
cx23885-ioctl.h
cx23885-ir.c
cx23885-ir.h
cx23885-reg.h
cx23885-vbi.c
cx23885-video.c media: pci: cx23885: check cx23885_vdev_init() return 2024-02-05 12:57:44 +01:00
cx23885-video.h
cx23885.h
cx23888-ir.c
cx23888-ir.h
Kconfig
Makefile
netup-eeprom.c
netup-eeprom.h
netup-init.c
netup-init.h