lkml.org 
[lkml]   [2019]   [Feb]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH -next] x86_64: tidy up KASAN_EXTRA

* Qian Cai <cai@lca.pw> wrote:

> The commit 585a4c1f9978 ("kasan: remove use after scope bugs
> detection.") removed KASAN_EXTRA, so tidy up leftovers.
>
> Signed-off-by: Qian Cai <cai@lca.pw>
> ---
> arch/x86/include/asm/page_64_types.h | 4 ----
> 1 file changed, 4 deletions(-)
>
> diff --git a/arch/x86/include/asm/page_64_types.h b/arch/x86/include/asm/page_64_types.h
> index 0ce558a8150d..8f657286d599 100644
> --- a/arch/x86/include/asm/page_64_types.h
> +++ b/arch/x86/include/asm/page_64_types.h
> @@ -7,11 +7,7 @@
> #endif
>
> #ifdef CONFIG_KASAN
> -#ifdef CONFIG_KASAN_EXTRA
> -#define KASAN_STACK_ORDER 2
> -#else
> #define KASAN_STACK_ORDER 1
> -#endif
> #else
> #define KASAN_STACK_ORDER 0
> #endif

Acked-by: Ingo Molnar <mingo@kernel.org>

Thanks,

Ingo

\
 
 \ /
  Last update: 2019-02-11 09:01    [W:0.029 / U:2.768 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site