diff mbox series

config: kernel: remove KASAN_EXTRA

Message ID 20240607095538.886086-1-dqfext@gmail.com
State Accepted
Delegated to: Robert Marko
Headers show
Series config: kernel: remove KASAN_EXTRA | expand

Commit Message

Qingfang Deng June 7, 2024, 9:55 a.m. UTC
The option has been removed from the kernel since 5.1.

Signed-off-by: Qingfang Deng <dqfext@gmail.com>
---
 config/Config-kernel.in | 10 ----------
 1 file changed, 10 deletions(-)

Comments

Robert Marko June 7, 2024, 10:07 a.m. UTC | #1
On Fri, 7 Jun 2024 at 11:56, Qingfang Deng <dqfext@gmail.com> wrote:
>
> The option has been removed from the kernel since 5.1.
>
> Signed-off-by: Qingfang Deng <dqfext@gmail.com>

Thanks for the patch, merged to main in:
https://github.com/openwrt/openwrt/commit/60ea3d6d46954553b7b50460dfe6b86878fe5990

Regards,
Robert

> ---
>  config/Config-kernel.in | 10 ----------
>  1 file changed, 10 deletions(-)
>
> diff --git a/config/Config-kernel.in b/config/Config-kernel.in
> index 2d90abcfe8..ddf81d67da 100644
> --- a/config/Config-kernel.in
> +++ b/config/Config-kernel.in
> @@ -173,16 +173,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
> --
> 2.34.1
>
>
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel@lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel
diff mbox series

Patch

diff --git a/config/Config-kernel.in b/config/Config-kernel.in
index 2d90abcfe8..ddf81d67da 100644
--- a/config/Config-kernel.in
+++ b/config/Config-kernel.in
@@ -173,16 +173,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