linux/drivers/media
Yuan Can 192b87608c media: siano: Fix error handling in smsdvb_module_init()
commit 734ac57e47 upstream.

The smsdvb_module_init() returns without checking the retval from
smscore_register_hotplug().
If the smscore_register_hotplug() failed, the module failed to install,
leaving the smsdvb_debugfs not unregistered.

Fixes: 3f6b87cff6 ("[media] siano: allow showing the complete statistics via debugfs")
Cc: stable@vger.kernel.org
Signed-off-by: Yuan Can <yuancan@huawei.com>
Acked-by: Ricardo Ribalda <ribalda@chromium.org>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2025-04-25 10:45:22 +02:00
..
cec media: pulse8-cec: fix data timestamp at pulse8_setup() 2024-11-14 13:19:34 +01:00
common media: siano: Fix error handling in smsdvb_module_init() 2025-04-25 10:45:22 +02:00
dvb-core media: dvbdev: fix the logic when DVB_DYNAMIC_MINORS is not set 2024-11-22 15:38:36 +01:00
dvb-frontends objtool, media: dib8000: Prevent divide-by-zero in dib8000_set_dds() 2025-04-10 14:37:35 +02:00
firewire media: firewire: firedtv-avc.c: replace BUG with proper, error return 2023-08-10 07:58:37 +02:00
i2c media: i2c: adv748x: Fix test pattern selection mask 2025-04-25 10:45:21 +02:00
mc media: mc: mark the media devnode as registered from the, start 2024-06-16 13:47:35 +02:00
mmc media: media/*/Kconfig: sort entries 2022-03-18 05:58:35 +01:00
pci media: pci: cx23885: check cx23885_vdev_init() return 2024-08-29 17:33:33 +02:00
platform media: venus: hfi: add check to handle incorrect queue size 2025-04-25 10:45:22 +02:00
radio media: wl128x: Fix atomicity violation in fmc_send_cmd() 2024-12-09 10:32:51 +01:00
rc media: streamzap: fix race between device disconnection and urb callback 2025-04-10 14:37:44 +02:00
spi media updates for v5.18-rc1 2022-03-23 14:51:35 -07:00
test-drivers media: vim2m: print device name after registering device 2025-04-25 10:45:22 +02:00
tuners Revert "media: tuners: fix error return code of hybrid_tuner_request_state()" 2024-10-04 16:29:46 +02:00
usb media: uvcvideo: Add quirk for Actions UVC05 2025-04-25 10:45:13 +02:00
v4l2-core media: mc: fix endpoint iteration 2025-02-17 09:40:33 +01:00
Kconfig media: Kconfig: Make DVB_CORE=m possible when MEDIA_SUPPORT=y 2022-12-07 17:58:46 +01:00
Makefile media: Makefiles: remove extra spaces 2022-03-12 16:59:52 +01:00