[RHEL7,COMMIT] ms/kasan: depend on CONFIG_SLUB_DEBUG

Submitted by Konstantin Khorenko on Nov. 24, 2018, 11:53 a.m.

Details

Message ID 201811241152.wAOBqxFO029873@finist-ce7.sw.ru
State New
Headers show

Patch hide | download patch | download mbox

diff --git a/lib/Kconfig.kasan b/lib/Kconfig.kasan
index da48f37ad788..ef4a37d491b3 100644
--- a/lib/Kconfig.kasan
+++ b/lib/Kconfig.kasan
@@ -6,6 +6,7 @@  if HAVE_ARCH_KASAN
 config KASAN
 	bool "KASan: runtime memory debugger"
 	depends on SLUB || (SLAB && !DEBUG_SLAB)
+	select SLUB_DEBUG if SLUB
 	select CONSTRUCTORS
 	select STACKDEPOT
 	help