kasan-sw_tags-use-str_on_off-helper-in-kasan_init_sw_tags.patch removed from -mm tree
The quilt patch titled
Subject: kasan: sw_tags: use str_on_off() helper in kasan_init_sw_tags()
has been removed from the -mm tree. Its filename was
kasan-sw_tags-use-str_on_off-helper-in-kasan_init_sw_tags.patch
This patch was dropped because it was merged into the mm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
------------------------------------------------------
From: Thorsten Blum <[email protected]>
Subject: kasan: sw_tags: use str_on_off() helper in kasan_init_sw_tags()
Date: Thu, 16 Jan 2025 07:24:04 +0100
Remove hard-coded strings by using the str_on_off() helper function.
Signed-off-by Thorsten Blum <[email protected]>
Suggested-by Anshuman Khandual <[email protected]>
Reviewed-by Alexander Potapenko <[email protected]>
Cc Andrey Konovalov <[email protected]>
Cc Andrey Ryabinin <[email protected]>
Cc Dmitriy Vyukov <[email protected]>
Cc Vincenzo Frascino <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
mm/kasan/sw_tags.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
mm/kasan/sw_tags.c renamed from mm/kasan/sw_tags.c~kasan-sw_tags-use-str_on_off-helper-in-kasan_init_sw_tags +2 -1
@@ -26,6 +26,7 @@#include <linux/slab.h> #include <linux/stacktrace.h> #include <linux/string.h> +#include <linux/string_choices.h> #include <linux/types.h> #include <linux/vmalloc.h> #include <linux/bug.h>
@@ -45,7 +46,7 @@ void __init kasan_init_sw_tags(void)kasan_init_tags ();pr_info ("KernelAddressSanitizer initialized (sw-tags, stacktrace=%s)\n" , -kasan_stack_collection_enabled () ?"on" :"off" ); +str_on_off (kasan_stack_collection_enabled ())); }/*
_
Patches currently in -mm which might be from [email protected] are
ocfs2-use-str_yes_no-and-str_no_yes-helper-functions.patch