lib/Kconfig.debug: make CONFIG_STRICT_DEVMEM depend on CONFIG_DEVMEM
[email protected]
maintainerPATCH 113/123 lib/Kconfig.debug: make CONFIG_STRICT_DEVMEM depend on CONFIG_DEVMEM
From: Dave Young <[email protected]>
Subject: lib/Kconfig.debug: make CONFIG_STRICT_DEVMEM depend on CONFIG_DEVMEM
With CONFIG_DEVMEM not set, CONFIG_STRICT_DEVMEM will be useless even if it is set =y, thus let's update the dependency in Kconfig.
Signed-off-by Dave Young <[email protected]>
Acked-by Kees Cook <[email protected]>
Cc Ingo Molnar <[email protected]>
Cc Dan Williams <[email protected]>
Cc Josh Poimboeuf <[email protected]>
Cc Tejun Heo <[email protected]>
Cc Andrey Ryabinin <[email protected]>
Cc Nikolay Aleksandrov <[email protected]>
Cc Dmitry Vyukov <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
lib/Kconfig.debug | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
lib/Kconfig.debug renamed from lib/Kconfig.debug~let-config_strict_devmem-depends-on-config_devmem +1 -1
@@ -2005,7 +2005,7 @@ config ARCH_HAS_DEVMEM_IS_ALLOWED config STRICT_DEVMEM bool "Filter access to /dev/mem" - depends on MMU + depends on MMU && DEVMEM depends on ARCH_HAS_DEVMEM_IS_ALLOWED default y if TILE || PPC ---help---
_