Re: [PATCH v1 1/1] smb/client: Use EXPORT_SYMBOL_IF_KUNIT() to export symbols

Andy Shevchenko <[email protected]> Tue, 14 Jul 2026 16:27:47 +0300
Newsgroups gmane.linux.kernel,gmane.linux.kernel.cifs,gmane.network.samba.internals
Organization Intel Finland Oy - BIC 0357606-4 - c/o Alberga Business Park, 6 krs, Bertel Jungin Aukio 5, 02600 Espoo
Message-ID <[email protected]>
On Tue, Jul 14, 2026 at 08:35:16PM +0800, ChenXiaoSong wrote:
> Reviewed-by: ChenXiaoSong <[email protected]>

Thanks!

> Andy, could you also submit a patch to update fs/smb/client/smb2maperror.c
> as well?

Sure.

> 在 2026/7/14 20:21, Andy Shevchenko 写道:
> > 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.

-- 
With Best Regards,
Andy Shevchenko