linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* EXPORT_SYMBOL_GPL_FOR_MODULES() heads up
@ 2025-06-23 10:45 Andy Shevchenko
  2025-06-23 17:41 ` Jonathan Cameron
  0 siblings, 1 reply; 3+ messages in thread
From: Andy Shevchenko @ 2025-06-23 10:45 UTC (permalink / raw)
  To: linux-iio; +Cc: Jonathan Cameron, David Lechner, Nuno Sá

Pay attention to a new commit 707f853d7fa3 ("module: Provide
EXPORT_SYMBOL_GPL_FOR_MODULES() helper"). This one is what we
mostly need in IIO.

-- 
With Best Regards,
Andy Shevchenko



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: EXPORT_SYMBOL_GPL_FOR_MODULES() heads up
  2025-06-23 10:45 EXPORT_SYMBOL_GPL_FOR_MODULES() heads up Andy Shevchenko
@ 2025-06-23 17:41 ` Jonathan Cameron
  2025-06-23 18:16   ` Andy Shevchenko
  0 siblings, 1 reply; 3+ messages in thread
From: Jonathan Cameron @ 2025-06-23 17:41 UTC (permalink / raw)
  To: Andy Shevchenko; +Cc: linux-iio, David Lechner, Nuno Sá

On Mon, 23 Jun 2025 13:45:07 +0300
Andy Shevchenko <andriy.shevchenko@linux.intel.com> wrote:

> Pay attention to a new commit 707f853d7fa3 ("module: Provide
> EXPORT_SYMBOL_GPL_FOR_MODULES() helper"). This one is what we
> mostly need in IIO.
> 

Thanks Andy - I'd not registered that merged.

I was following the discussion that lead to that patch and
it was targeted at a different use case to our typical one in IIO.
I was to prevent anyone else getting access to a particular call
that was needed for modular KVM. It's about abuse prevention rather
than what we typically care about which is reducing namespace
polution.

Now that's not to say it isn't also helpful for us, but I'd like
to not rush to using it until we see if it is getting general
adoption outside of that specific KVM case and similar.

So let's wait a cycle or so and look again,

Jonathan

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: EXPORT_SYMBOL_GPL_FOR_MODULES() heads up
  2025-06-23 17:41 ` Jonathan Cameron
@ 2025-06-23 18:16   ` Andy Shevchenko
  0 siblings, 0 replies; 3+ messages in thread
From: Andy Shevchenko @ 2025-06-23 18:16 UTC (permalink / raw)
  To: Jonathan Cameron; +Cc: Andy Shevchenko, linux-iio, David Lechner, Nuno Sá

Mon, Jun 23, 2025 at 06:41:58PM +0100, Jonathan Cameron kirjoitti:
> On Mon, 23 Jun 2025 13:45:07 +0300
> Andy Shevchenko <andriy.shevchenko@linux.intel.com> wrote:
> 
> > Pay attention to a new commit 707f853d7fa3 ("module: Provide
> > EXPORT_SYMBOL_GPL_FOR_MODULES() helper"). This one is what we
> > mostly need in IIO.
> > 
> 
> Thanks Andy - I'd not registered that merged.
> 
> I was following the discussion that lead to that patch and
> it was targeted at a different use case to our typical one in IIO.
> I was to prevent anyone else getting access to a particular call
> that was needed for modular KVM. It's about abuse prevention rather
> than what we typically care about which is reducing namespace
> polution.
> 
> Now that's not to say it isn't also helpful for us, but I'd like
> to not rush to using it until we see if it is getting general
> adoption outside of that specific KVM case and similar.

FWIW, I have noticed this due to the commit
https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git/commit/?h=tty-next&id=b20d6576cdb3530d4a2d81611a8b8eb99780ce3e

> So let's wait a cycle or so and look again,

Sure.

-- 
With Best Regards,
Andy Shevchenko



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-06-23 18:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-23 10:45 EXPORT_SYMBOL_GPL_FOR_MODULES() heads up Andy Shevchenko
2025-06-23 17:41 ` Jonathan Cameron
2025-06-23 18:16   ` Andy Shevchenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).