android_kernel_xiaomi_sm8450/drivers/media
Greg Kroah-Hartman 27dfaf2ee0 media: dvb: symbol fixup for dvb_attach()
commit 86495af1171e1feec79faa9b64c05c89f46e41d1 upstream.

In commit 9011e49d54dc ("modules: only allow symbol_get of
EXPORT_SYMBOL_GPL modules") the use of symbol_get is properly restricted
to GPL-only marked symbols.  This interacts oddly with the DVB logic
which only uses dvb_attach() to load the dvb driver which then uses
symbol_get().

Fix this up by properly marking all of the dvb_attach attach symbols as
EXPORT_SYMBOL_GPL().

Fixes: 9011e49d54dc ("modules: only allow symbol_get of EXPORT_SYMBOL_GPL modules")
Cc: stable <stable@kernel.org>
Reported-by: Stefan Lippers-Hollmann <s.l-h@gmx.de>
Cc: Mauro Carvalho Chehab <mchehab@kernel.org>
Cc: Christoph Hellwig <hch@lst.de>
Cc: linux-media@vger.kernel.org
Cc: linux-modules@vger.kernel.org
Acked-by: Luis Chamberlain <mcgrof@kernel.org>
Acked-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Link: https://lore.kernel.org/r/20230908092035.3815268-2-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-09-19 12:20:21 +02:00
..
cec media: pulse8-cec: handle possible ping error 2023-09-19 12:20:04 +02:00
common media: videobuf2-core: take mmap_lock in vb2_get_unmapped_area() 2022-12-14 11:31:57 +01:00
dvb-core media: dvb-core: Fix use-after-free due to race at dvb_register_device() 2023-06-21 15:45:41 +02:00
dvb-frontends media: dvb: symbol fixup for dvb_attach() 2023-09-19 12:20:21 +02:00
firewire media: firewire: firedtv-avc: fix a buffer overflow in avc_ca_pmt() 2021-11-06 14:10:09 +01:00
i2c media: ov2680: Fix regulators being left enabled on ov2680_power_on() errors 2023-09-19 12:20:19 +02:00
mc media: Fix Media Controller API config checks 2021-07-14 16:55:56 +02:00
mmc media updates for v5.8-rc1 2020-06-03 20:59:38 -07:00
pci media: dvb: symbol fixup for dvb_attach() 2023-09-19 12:20:21 +02:00
platform media: mediatek: vcodec: Return NULL if no vdec_fb is found 2023-09-19 12:20:17 +02:00
radio media: radio-shark: Add endpoint checks 2023-05-30 12:57:57 +01:00
rc media: rc: gpio-ir-recv: Fix support for wake-up 2023-05-17 11:47:44 +02:00
spi media: cxd2880-spi: Fix a null pointer dereference on error handling path 2021-11-18 14:04:04 +01:00
test-drivers media: vimc: Fix wrong function called when vimc_init() fails 2023-01-14 10:15:32 +01:00
tuners media: dvb: symbol fixup for dvb_attach() 2023-09-19 12:20:21 +02:00
usb media: go7007: Remove redundant if statement 2023-09-19 12:20:18 +02:00
v4l2-core media: v4l2-core: Fix a potential resource leak in v4l2_fwnode_parse_link() 2023-09-19 12:20:16 +02:00
Kconfig media: correct MEDIA_TEST_SUPPORT help text 2022-01-27 10:54:29 +01:00
Makefile media: media/test_drivers: rename to test-drivers 2020-04-16 10:38:31 +02:00