arm64: remove redundant 'if HAVE_ARCH_KASAN' in Kconfig
PATCH v2 1/1 arm64: remove redundant 'if HAVE_ARCH_KASAN' in Kconfig
Since commit 0383808e4d99 ("arm64: kasan: Reduce minimum shadow alignment and enable 5 level paging"), HAVE_ARCH_KASAN is always 'y'.
The condition 'if HAVE_ARCH_KASAN' is always met.
---
Changes in v2:
- update description
- add reviewed-by and acked-by
arch/arm64/Kconfig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
arch/arm64/Kconfig +3 -3
@@ -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
Signature · 1 line
2.43.0
Quoted 8 lines · Masahiro Yamada
Since commit
0383808e4d99("arm64: kasan: Reduce minimum shadow alignment and enable 5 level paging"),HAVE_ARCH_KASANis always 'y'.The condition 'if
HAVE_ARCH_KASAN' is always met.Signed-off-by Masahiro Yamada <[email protected]>Reviewed-by Randy Dunlap <[email protected]>Acked-by Mark Rutland <[email protected]>
Quoted 26 lines
---
Changes in v2:
- update description
- add reviewed-by and acked-byarch/arm64/Kconfig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)arch/arm64/Kconfig +3
-3@@ -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
Quoted 6 lines · Masahiro Yamada
Since commit
0383808e4d99("arm64: kasan: Reduce minimum shadow alignment and enable 5 level paging"),HAVE_ARCH_KASANis always 'y'.The condition 'if
HAVE_ARCH_KASAN' is always met.
Applied to arm64 (for-next/core), thanks!
[1/1] arm64: remove redundant 'if HAVE_ARCH_KASAN' in Kconfig
https://git.kernel.org/arm64/c/62e2397c2203
Cheers,
Signature · 5 lines
Will https://fixes.arm64.dev https://next.arm64.dev https://will.arm64.dev