Re: [PATCH] Kconfig: Move CONFIG_DEBUG_KMEMLEAK_TEST to samples/Kconfig

From: Catalin Marinas
Date: Thu Oct 22 2020 - 05:34:51 EST


On Thu, Oct 22, 2020 at 02:12:34AM +0000, Chen Jun wrote:
> From: Chen Jun <c00424029@xxxxxxxxxx>
>
> commit 1abbef4f51724fb11f09adf0e75275f7cb422a8a
> ("mm,kmemleak-test.c: move kmemleak-test.c to samples dir")
> make CONFIG_DEBUG_KMEMLEAK_TEST depend on CONFIG_SAMPLES implicitly.
> And the dependency cannot be guaranteed by Kconfig.
>
> move the definition of CONFIG_DEBUG_KMEMLEAK_TEST from lib/Kconfig.debug
> to samples/Kconfig.
>
> Signed-off-by: Chen Jun <c00424029@xxxxxxxxxx>

Acked-by: Catalin Marinas <catalin.marinas@xxxxxxx>