WSL2-Linux-Kernel/drivers/media/dvb-frontends/cxd2880
Greg Kroah-Hartman 6e9632a01e media: dvb: symbol fixup for dvb_attach()
commit 86495af117 upstream.

In commit 9011e49d54 ("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: 9011e49d54 ("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:22:51 +02:00
..
Kconfig
Makefile
cxd2880.h
cxd2880_common.c
cxd2880_common.h
cxd2880_devio_spi.c
cxd2880_devio_spi.h
cxd2880_dtv.h
cxd2880_dvbt.h
cxd2880_dvbt2.h
cxd2880_integ.c
cxd2880_integ.h
cxd2880_io.c
cxd2880_io.h
cxd2880_spi.h
cxd2880_spi_device.c
cxd2880_spi_device.h
cxd2880_tnrdmd.c
cxd2880_tnrdmd.h
cxd2880_tnrdmd_driver_version.h
cxd2880_tnrdmd_dvbt.c
cxd2880_tnrdmd_dvbt.h
cxd2880_tnrdmd_dvbt2.c
cxd2880_tnrdmd_dvbt2.h
cxd2880_tnrdmd_dvbt2_mon.c
cxd2880_tnrdmd_dvbt2_mon.h
cxd2880_tnrdmd_dvbt_mon.c
cxd2880_tnrdmd_dvbt_mon.h
cxd2880_tnrdmd_mon.c
cxd2880_tnrdmd_mon.h
cxd2880_top.c media: dvb: symbol fixup for dvb_attach() 2023-09-19 12:22:51 +02:00