]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commitdiff
Fix subtle CONFIG_MODVERSIONS problems
authorLinus Torvalds <torvalds@linux-foundation.org>
Fri, 25 Nov 2016 23:44:47 +0000 (15:44 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 25 Nov 2016 23:44:47 +0000 (15:44 -0800)
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>
init/Kconfig

index 34407f15e6d34da57be238f69441f1dad9e60764..c4fbc1e55c2539a37486f990efde1d29d44db7a7 100644 (file)
@@ -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