]> git.baikalelectronics.ru Git - kernel.git/commit
module.h: allow #define strings to work with MODULE_IMPORT_NS
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 8 Jan 2022 14:06:57 +0000 (15:06 +0100)
committerLuis Chamberlain <mcgrof@kernel.org>
Wed, 12 Jan 2022 03:11:09 +0000 (19:11 -0800)
commit778c7624f2756a538c3eaa9d979d614aafa44d58
tree2ecc35f14fbf8c3adf8c0ccf11e6b650037d60a2
parent7a80d9175511fa572c670559dd7428c2bec546c3
module.h: allow #define strings to work with MODULE_IMPORT_NS

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@kernel.org>
Cc: Jessica Yu <jeyu@kernel.org>
Cc: Matthias Maennich <maennich@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Matthias Maennich <maennich@google.com>
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
include/linux/module.h