linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH -next] x86_64: tidy up KASAN_EXTRA
@ 2019-02-06  4:56 Qian Cai
  2019-02-11  8:00 ` Ingo Molnar
  0 siblings, 1 reply; 2+ messages in thread
From: Qian Cai @ 2019-02-06  4:56 UTC (permalink / raw)
  To: akpm
  Cc: tglx, mingo, bp, hpa, aryabinin, glider, dvyukov, x86,
	linux-kernel, Qian Cai

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
-- 
2.17.2 (Apple Git-113)


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH -next] x86_64: tidy up KASAN_EXTRA
  2019-02-06  4:56 [PATCH -next] x86_64: tidy up KASAN_EXTRA Qian Cai
@ 2019-02-11  8:00 ` Ingo Molnar
  0 siblings, 0 replies; 2+ messages in thread
From: Ingo Molnar @ 2019-02-11  8:00 UTC (permalink / raw)
  To: Qian Cai
  Cc: akpm, tglx, mingo, bp, hpa, aryabinin, glider, dvyukov, x86,
	linux-kernel


* 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-02-11  8:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-06  4:56 [PATCH -next] x86_64: tidy up KASAN_EXTRA Qian Cai
2019-02-11  8:00 ` Ingo Molnar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).