Re: [PATCH] module.h: allow #define strings to work with MODULE_IMPORT_NS

From: Luis Chamberlain
Date: Tue Jan 11 2022 - 22:13:33 EST


On Sat, Jan 08, 2022 at 03:06:57PM +0100, Greg Kroah-Hartman wrote:
> The MODULE_IMPORT_NS() macro does not allow defined strings to work
> properly with it, so add a layer of indirection to allow this to happen.
>
> Cc: Luis Chamberlain <mcgrof@xxxxxxxxxx>
> Cc: Jessica Yu <jeyu@xxxxxxxxxx>
> Cc: Matthias Maennich <maennich@xxxxxxxxxx>
> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>

Thanks, queued onto modulex-next [0].

[0] https://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux.git/log/?h=modules-next

Luis