Thread (3 messages) 3 messages, 2 authors, 2023-10-07

Re: [PATCH 4.19 178/273] media: dvb: symbol fixup for dvb_attach()

From: Ben Hutchings <hidden>
Date: 2023-09-27 23:36:21
Also in: linux-media, linux-patches, stable

On Wed, 2023-09-20 at 13:30 +0200, Greg Kroah-Hartman wrote:
4.19-stable review patch.  If anyone has any objections, please let me know.

------------------

From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

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().
[...]

This (and other) backports missed a couple of affected exports:

- sp8870_attach in drivers/media/dvb-frontends/sp8870.c
  (renamed to drivers/staging/media/av7110/sp8870.c upstream)
- xc2028_attach in drivers/media/tuners/tuner-xc2028.c
  (renamed to drivers/media/tuners/xc2028.c upstream)

Ben.

-- 
Ben Hutchings
The obvious mathematical breakthrough [to break modern encryption]
would be development of an easy way to factor large prime numbers.
                                                           - Bill Gates

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help