diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-04-27 11:03:21 +0200 |
---|---|---|
committer | Luis Chamberlain <mcgrof@kernel.org> | 2022-05-12 10:29:41 -0700 |
commit | 80140a81f7f833998d732102eea0fea230b88067 (patch) | |
tree | a71ab8bca2daf077edaf77b4dfb9ad0e77a18e16 /net/unix/sysctl_net_unix.c | |
parent | eeaec7801c421e17edda6e45a32d4a5596b633da (diff) |
module.h: simplify MODULE_IMPORT_NS
In commit ca321ec74322 ("module.h: allow #define strings to work with
MODULE_IMPORT_NS") I fixed up the MODULE_IMPORT_NS() macro to allow
defined strings to work with it. Unfortunatly I did it in a two-stage
process, when it could just be done with the __stringify() macro as
pointed out by Masahiro Yamada.
Clean this up to only be one macro instead of two steps to achieve the
same end result.
Fixes: ca321ec74322 ("module.h: allow #define strings to work with MODULE_IMPORT_NS")
Reported-by: Masahiro Yamada <masahiroy@kernel.org>
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>
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions