Browse Source

Fix subtle CONFIG_MODVERSIONS problems

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 <torvalds@linux-foundation.org>
Linus Torvalds 8 năm trước cách đây
mục cha
commit
cd3caefb46
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      init/Kconfig

+ 1 - 0
init/Kconfig

@@ -1945,6 +1945,7 @@ config MODULE_FORCE_UNLOAD
 
 
 config MODVERSIONS
 config MODVERSIONS
 	bool "Module versioning support"
 	bool "Module versioning support"
+	depends on BROKEN
 	help
 	help
 	  Usually, you have to use modules compiled with your kernel.
 	  Usually, you have to use modules compiled with your kernel.
 	  Saying Y here makes it sometimes possible to use modules
 	  Saying Y here makes it sometimes possible to use modules