aboutsummaryrefslogtreecommitdiff
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorLinus Torvalds <[email protected]>2019-09-22 11:15:14 -0700
committerLinus Torvalds <[email protected]>2019-09-22 11:15:14 -0700
commit3e4d890a26d5411d0b64e5e8ecfdcdb435c1d3f8 (patch)
treee79f61062c6af8e70faf4330178f1c86f81fd86e /lib/test_overflow.c
parent9dbd83f665298c9dcf647f20d6d6488e9019114b (diff)
modules: make MODULE_IMPORT_NS() work even when modular builds are disabled
It's an unusual configuration, and was apparently never tested, and not caught in linux-next because of a combination of travels and it making it into the tree too late. The fix is to simply move the #define to outside the CONFIG_MODULE section, since MODULE_INFO() will do the right thing. Cc: Martijn Coenen <[email protected]> Cc: Greg Kroah-Hartman <[email protected]> Cc: Matthias Maennich <[email protected]> Cc: Jessica Yu <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions