Re: [PATCH v1 1/1] lib/vsprintf: Use EXPORT_SYMBOL_IF_KUNIT() to export symbols

From: Petr Mladek

Date: Wed Oct 14 2026 - 05:36:18 EST


On Tue 2026-10-13 23:41:20, Andy Shevchenko wrote:
> On Tue, Jul 14, 2026 at 03:39:23PM +0100, Tamir Duberstein wrote:
> > On Tue, Jul 14, 2026 at 5:21 AM Andy Shevchenko
> > <andriy.shevchenko@xxxxxxxxxxxxxxx> wrote:
> > >
> > > Replace EXPORT_SYMBOL_FOR_MODULES() with EXPORT_SYMBOL_IF_KUNIT()
> > > to mark the symbols as visible only if CONFIG_KUNIT is enabled.
> > >
> > > Kunit test should import the namespace EXPORTED_FOR_KUNIT_TESTING to
> > > use these marked symbols. This is the standard way for all KUnit
> > > tests.
> > >
> > > Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
> >
> > Acked-by: Tamir Duberstein <tamird@xxxxxxxxxx>
>
> Thanks!
>
> Petr, does this fall in cracks? Can it be applied or do you have any comments
> on this? Or may be I missed something?

Yeah, this has fallen through the cracks. /o\

I have just committed it into printk/linux.git, branch for-7.4.

Thanks a lot for reminder.

Best Regards,
Petr