Re: [GIT PULL] Driver symbol lookup fix for 6.6-rc1

From: Greg KH
Date: Sat Sep 09 2023 - 08:37:16 EST


On Sat, Sep 09, 2023 at 09:06:14AM +0100, Greg KH wrote:
> The following changes since commit a48fa7efaf1161c1c898931fe4c7f0070964233a:
>
> Merge tag 'drm-next-2023-09-08' of git://anongit.freedesktop.org/drm/drm (2023-09-07 19:47:04 -0700)
>
> are available in the Git repository at:
>
> git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git tags/driver-core-6.6-rc1-2
>
> for you to fetch changes up to 86495af1171e1feec79faa9b64c05c89f46e41d1:
>
> media: dvb: symbol fixup for dvb_attach() (2023-09-09 08:15:11 +0100)
>
> ----------------------------------------------------------------
> Driver symbol lookup fix for 6.6-rc1
>
> Here is one last fixup for your tree for 6.6-rc1. It resolves a problem
> with the way that symbol_get was changed in the module tree merge in
> your tree to fix up the DVB drivers which rely on this old api to attach
> new devices.
>
> As the changelog comment says:
>
> 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 has been acked by Hans from the V4L driver side, and from Luis from
> the module side, and Christoph said it was the correct solution, and was
> tested by the original reporter of the issue.

And now Mauro has acked it:
https://lore.kernel.org/r/20230909121941.30a1b1f0@xxxxxxx
but I don't want to rewrite history to add it to the signed tag.

thanks,

greg k-h