Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] arm64: remove redundant 'if HAVE_ARCH_KASAN' in Kconfig
@ 2024-07-14 10:58 Masahiro Yamada
  2024-07-14 12:58 ` Randy Dunlap
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Masahiro Yamada @ 2024-07-14 10:58 UTC (permalink / raw)
  To: linux-kbuild, Catalin Marinas, Will Deacon, linux-arm-kernel
  Cc: linux-kernel, Masahiro Yamada

The condition 'select HAVE_ARCH_KASAN' is always true because
there is 'select HAVE_ARCH_KASAN' statement above.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
---

 arch/arm64/Kconfig | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
index c87d16b12e9b..d37cbfc3031e 100644
--- a/arch/arm64/Kconfig
+++ b/arch/arm64/Kconfig
@@ -167,9 +167,9 @@ config ARM64
 	select HAVE_ARCH_JUMP_LABEL
 	select HAVE_ARCH_JUMP_LABEL_RELATIVE
 	select HAVE_ARCH_KASAN
-	select HAVE_ARCH_KASAN_VMALLOC if HAVE_ARCH_KASAN
-	select HAVE_ARCH_KASAN_SW_TAGS if HAVE_ARCH_KASAN
-	select HAVE_ARCH_KASAN_HW_TAGS if (HAVE_ARCH_KASAN && ARM64_MTE)
+	select HAVE_ARCH_KASAN_VMALLOC
+	select HAVE_ARCH_KASAN_SW_TAGS
+	select HAVE_ARCH_KASAN_HW_TAGS if ARM64_MTE
 	# Some instrumentation may be unsound, hence EXPERT
 	select HAVE_ARCH_KCSAN if EXPERT
 	select HAVE_ARCH_KFENCE
-- 
2.43.0



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

end of thread, other threads:[~2024-07-15 14:00 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-14 10:58 [PATCH] arm64: remove redundant 'if HAVE_ARCH_KASAN' in Kconfig Masahiro Yamada
2024-07-14 12:58 ` Randy Dunlap
2024-07-14 16:03 ` Masahiro Yamada
2024-07-14 16:06 ` Masahiro Yamada
2024-07-15  2:41 ` Anshuman Khandual
2024-07-15 13:43   ` Mark Rutland
2024-07-15 13:59     ` Masahiro Yamada
2024-07-15 13:29 ` Mark Rutland
2024-07-15 13:55   ` Masahiro Yamada

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox