OpenCloudOS-Kernel/drivers/media/pci
Hans Verkuil b1397fb4a7 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-08-29 17:33:33 +02:00
..
b2c2
bt8xx media: bttv: add back vbi hack 2024-01-25 15:35:35 -08:00
cobalt media: cobalt: Use FIELD_GET() to extract Link Width 2023-11-28 17:19:47 +00:00
cx18 media: cx18: remove unnecessary (void*) conversions 2023-07-19 12:57:47 +02:00
cx88
cx23885 media: pci: cx23885: check cx23885_vdev_init() return 2024-08-29 17:33:33 +02:00
cx25821
ddbridge media: ddbridge: fix an error code problem in ddb_probe 2024-02-05 20:14:28 +00:00
dm1105 media: add HAS_IOPORT dependencies 2023-06-28 11:09:25 +02:00
dt3155
intel media: ivsc: csi: don't count privacy on as error 2024-08-03 08:54:19 +02:00
ivtv media: pci: ivtv: Add check for DMA map result 2024-08-03 08:53:47 +02:00
mantis media: mantis: Kconfig: add depends on DVB_CORE for MANTIS_CORE 2022-11-25 10:04:11 +00:00
netup_unidvb media: netup_unidvb: fix irq init by register it at the end of probe 2023-05-14 06:30:13 +01:00
ngene media: ngene: Add dvb_ca_en50221_init return value check 2024-06-12 11:12:01 +02:00
pluto2
pt1
pt3 media: pt3: Use dma_set_mask_and_coherent() and simplify code 2022-12-07 17:58:46 +01:00
saa7134 saa7134: Unchecked i2c_transfer function result fixed 2024-08-03 08:53:48 +02:00
saa7146 media: pci: saa7146: advertise only those TV standard that are supported 2023-04-15 08:56:05 +01:00
saa7164 media: pci: saa7164: replace BUG with error return 2023-07-25 09:24:31 +02:00
smipcie
solo6x10 media: solo6x10: replace max(a, min(b, c)) by clamp(b, a, c) 2024-02-16 19:10:56 +01:00
sta2x11 media: sta2x11: fix irq handler cast 2024-04-13 13:07:35 +02:00
ttpci media: ttpci: fix two memleaks in budget_av_attach 2024-03-26 18:19:53 -04:00
tw68 media: pci: tw68: Fix null-ptr-deref bug in buf prepare and finish 2023-03-19 22:56:45 +01:00
tw686x media: pci: tw686x: no need to check 'next' 2023-06-09 16:09:10 +01:00
tw5864
zoran media: zoran: drop two obsolete prototypes from zoran_device.h 2023-03-20 00:22:34 +01:00
Kconfig media: ipu3-cio2: rename cio2 bridge to ipu bridge and move out of ipu3 2023-07-14 12:40:48 +02:00
Makefile media: Revert "media: saa7146: deprecate hexium_gemini/orion, mxb and ttpci" 2023-02-09 09:22:36 +01:00