config: kernel: remove KASAN_EXTRA
authorQingfang Deng <dqfext@gmail.com>
Fri, 7 Jun 2024 09:55:38 +0000 (17:55 +0800)
committerRISCi_ATOM <bob@bobcall.me>
Thu, 11 Jul 2024 15:23:42 +0000 (11:23 -0400)
The option has been removed from the kernel since 5.1.

Signed-off-by: Qingfang Deng <dqfext@gmail.com>
(cherry picked from commit 60ea3d6d46954553b7b50460dfe6b86878fe5990)
Link: https://github.com/openwrt/openwrt/pull/15898
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
config/Config-kernel.in

index 3056b412dd29501fbef252bfe49e657c203c6f0a..b6785d91e58ce4936dccf9ec1784736567a6a38a 100644 (file)
@@ -157,16 +157,6 @@ config KERNEL_KASAN
          Currently CONFIG_KASAN doesn't work with CONFIG_DEBUG_SLAB
          (the resulting kernel does not boot).
 
-config KERNEL_KASAN_EXTRA
-       bool "KAsan: extra checks"
-       depends on KERNEL_KASAN && KERNEL_DEBUG_KERNEL
-       help
-         This enables further checks in the kernel address sanitizer, for now
-         it only includes the address-use-after-scope check that can lead
-         to excessive kernel stack usage, frame size warnings and longer
-         compile time.
-         https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81715 has more
-
 config KERNEL_KASAN_VMALLOC
        bool "Back mappings in vmalloc space with real shadow memory"
        depends on KERNEL_KASAN