projects/linux·commit cd3caefb

Fix subtle CONFIG_MODVERSIONS problems

cd3caefb · Linus Torvalds <[email protected]> · 2016-11-25 15:44:47 -08:00

CONFIG_MODVERSIONS has been broken for pretty much the whole 4.9 series,
and quite frankly, nobody has cared very deeply.  We absolutely know how
to fix it, and it's not _complicated_, but it's not exactly pretty
either.

This oneliner fixes it without the ugliness, and allows for further
future cleanups.

  "We've secretly replaced their regular MODVERSIONS with nothing at
   all, let's see if they notice"

Signed-off-by: Linus Torvalds <[email protected]>
Commit
cd3caefb4663e3811d37cc2afad3cce642d60061
Parents
beb53e4b

Changes

1 files changed · +1 −0

FileStatusAddDelContent
init/Kconfigmodified+1−0View file

init/Kconfig

View file
diff --git a/init/Kconfig b/init/Kconfig
index 34407f1..c4fbc1e 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -1945,6 +1945,7 @@ config MODULE_FORCE_UNLOAD
config MODVERSIONS
bool "Module versioning support"
+ depends on BROKEN
help
Usually, you have to use modules compiled with your kernel.
Saying Y here makes it sometimes possible to use modules