linux/arch/arm64
Walter Wu 02c587733c kasan: remove redundant config option
CONFIG_KASAN_STACK and CONFIG_KASAN_STACK_ENABLE both enable KASAN stack
instrumentation, but we should only need one config, so that we remove
CONFIG_KASAN_STACK_ENABLE and make CONFIG_KASAN_STACK workable.  see [1].

When enable KASAN stack instrumentation, then for gcc we could do no
prompt and default value y, and for clang prompt and default value n.

This patch fixes the following compilation warning:

  include/linux/kasan.h:333:30: warning: 'CONFIG_KASAN_STACK' is not defined, evaluates to 0 [-Wundef]

[akpm@linux-foundation.org: fix merge snafu]

Link: https://bugzilla.kernel.org/show_bug.cgi?id=210221 [1]
Link: https://lkml.kernel.org/r/20210226012531.29231-1-walter-zh.wu@mediatek.com
Fixes: d9b571c885 ("kasan: fix KASAN_STACK dependency for HW_TAGS")
Signed-off-by: Walter Wu <walter-zh.wu@mediatek.com>
Suggested-by: Dmitry Vyukov <dvyukov@google.com>
Reviewed-by: Nathan Chancellor <natechancellor@gmail.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Andrey Konovalov <andreyknvl@google.com>
Cc: Andrey Ryabinin <ryabinin.a.a@gmail.com>
Cc: Dmitry Vyukov <dvyukov@google.com>
Cc: Alexander Potapenko <glider@google.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2021-04-16 16:10:36 -07:00
..
boot treewide: change my e-mail address, fix my name 2021-04-09 14:54:23 -07:00
configs Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid 2021-02-23 14:52:22 -08:00
crypto crypto: arm64/crc-t10dif - move NEON yield to C code 2021-02-10 17:55:58 +11:00
include Fix kernel compilation when using the LLVM integrated assembly. 2021-04-16 09:45:30 -07:00
kernel kasan: remove redundant config option 2021-04-16 16:10:36 -07:00
kvm KVM: arm64: Fix CPU interface MMIO compatibility detection 2021-03-24 17:26:38 +00:00
lib arm64: kasan: simplify and inline MTE functions 2021-02-26 09:41:03 -08:00
mm arm64: mm: correct the inside linear map range during hotplug check 2021-03-22 12:47:40 +00:00
net bpf: Rename BPF_XADD and prepare to encode other atomics in .imm 2021-01-14 18:34:29 -08:00
xen
Kbuild
Kconfig arm64: mte: Ensure TIF_MTE_ASYNC_FAULT is set atomically 2021-04-12 13:38:45 +01:00
Kconfig.debug
Kconfig.platforms Updates for the irq subsystem: 2021-02-21 11:53:06 -08:00
Makefile arm64: do not descend to vdso directories twice 2021-01-20 12:18:46 +00:00