* [folded-merged] init-handle-bootloader-identifier-in-kernel-parameters-v4.patch removed from -mm tree
@ 2025-09-14 0:15 Andrew Morton
0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2025-09-14 0:15 UTC (permalink / raw)
To: mm-commits, viro, stable, jack, brauner, chenhuacai, akpm
The quilt patch titled
Subject: init-handle-bootloader-identifier-in-kernel-parameters-v4
has been removed from the -mm tree. Its filename was
init-handle-bootloader-identifier-in-kernel-parameters-v4.patch
This patch was dropped because it was folded into init-handle-bootloader-identifier-in-kernel-parameters.patch
------------------------------------------------------
From: Huacai Chen <chenhuacai@loongson.cn>
Subject: init-handle-bootloader-identifier-in-kernel-parameters-v4
Date: Fri, 15 Aug 2025 17:01:20 +0800
use strstarts()
Link: https://lkml.kernel.org/r/20250815090120.1569947-1-chenhuacai@loongson.cn
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Christian Brauner <brauner@kernel.org>
Cc: Jan Kara <jack@suse.cz>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
init/main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/init/main.c~init-handle-bootloader-identifier-in-kernel-parameters-v4
+++ a/init/main.c
@@ -559,7 +559,7 @@ static int __init unknown_bootoption(cha
/* Handle bootloader identifier */
for (int i = 0; bootloader[i]; i++) {
- if (!strncmp(param, bootloader[i], strlen(bootloader[i])))
+ if (strstarts(param, bootloader[i]))
return 0;
}
_
Patches currently in -mm which might be from chenhuacai@loongson.cn are
init-handle-bootloader-identifier-in-kernel-parameters.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-09-14 0:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-14 0:15 [folded-merged] init-handle-bootloader-identifier-in-kernel-parameters-v4.patch removed from -mm tree Andrew Morton
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox