Re: [PATCH] Make "Memory Debugging" a menuconfig to ease disabling it all
From: Vincent Legoll
Date: Sat Dec 09 2017 - 07:44:42 EST
This patch introduces some Kconfig warnings:
warning: (X86) selects HAVE_DEBUG_KMEMLEAK which has unmet direct
dependencies (DEBUG_MEMORY)
warning: (X86) selects HAVE_ARCH_KASAN which has unmet direct
dependencies (DEBUG_MEMORY)
warning: (X86) selects ARCH_HAS_DEBUG_VIRTUAL which has unmet direct
dependencies (DEBUG_MEMORY)
warning: (X86) selects HAVE_DEBUG_STACKOVERFLOW which has unmet direct
dependencies (DEBUG_MEMORY)
What would be the best way to fix that ?
excluding those config options from the "if DEBUG_MEMORY" code
block seems to alleviate the warnings, but is that OK to do ?
Would moving them out of the if/endif block be acceptable ?
Thanks
--
Vincent Legoll