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

From: Andy Shevchenko

Date: Tue Oct 13 2026 - 17:15:57 EST


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?

--
With Best Regards,
Andy Shevchenko