Re: [PATCH] media: dvb: symbol fixup for dvb_attach()

From: Mauro Carvalho Chehab
Date: Sat Sep 09 2023 - 06:20:10 EST


Em Fri, 8 Sep 2023 17:35:07 +0100
Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> escreveu:

> On Fri, Sep 08, 2023 at 09:21:29AM -0700, Luis Chamberlain wrote:
> > On Fri, Sep 08, 2023 at 10:20:36AM +0100, Greg Kroah-Hartman wrote:
> > > 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@xxxxxxxxxx>
> > > Reported-by: Stefan Lippers-Hollmann <s.l-h@xxxxxx>
> > > Cc: Mauro Carvalho Chehab <mchehab@xxxxxxxxxx>
> > > Cc: Luis Chamberlain <mcgrof@xxxxxxxxxx>
> > > Cc: Christoph Hellwig <hch@xxxxxx>
> > > Cc: linux-media@xxxxxxxxxxxxxxx
> > > Cc: linux-modules@xxxxxxxxxxxxxxx
> > > Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
> > > ---
> > > Luis, do you want to take this through your tree? Or Mauro's? Or I can
> > > take it through mine, it should get to Linus soon as this is causing
> > > regressions in his tree.
> >
> > You've done the work so it is up to you, whatever helps you expedite it
> > as it already hit stable. Feel free to take it through your tree.
>
> If you ack it, I can take it now through my tree and send it to Linus
> tomorrow.

You can send it via your trees. So:

Acked-by: Mauro Carvalho Chehab <mchehab@xxxxxxxxxx>

>
> thanks,
>
> greg k-h