* [merged mm-nonmm-stable] kexec_core-remove-redundant-0-value-initialization.patch removed from -mm tree
@ 2025-09-14 0:35 Andrew Morton
0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2025-09-14 0:35 UTC (permalink / raw)
To: mm-commits, liaoyuanhong, akpm
The quilt patch titled
Subject: kexec_core: remove redundant 0 value initialization
has been removed from the -mm tree. Its filename was
kexec_core-remove-redundant-0-value-initialization.patch
This patch was dropped because it was merged into the mm-nonmm-stable branch
of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
------------------------------------------------------
From: Liao Yuanhong <liaoyuanhong@vivo.com>
Subject: kexec_core: remove redundant 0 value initialization
Date: Mon, 25 Aug 2025 20:33:05 +0800
The kimage struct is already zeroed by kzalloc(). It's redundant to
initialize image->head to 0.
Link: https://lkml.kernel.org/r/20250825123307.306634-1-liaoyuanhong@vivo.com
Signed-off-by: Liao Yuanhong <liaoyuanhong@vivo.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
kernel/kexec_core.c | 1 -
1 file changed, 1 deletion(-)
--- a/kernel/kexec_core.c~kexec_core-remove-redundant-0-value-initialization
+++ a/kernel/kexec_core.c
@@ -233,7 +233,6 @@ struct kimage *do_kimage_alloc_init(void
if (!image)
return NULL;
- image->head = 0;
image->entry = &image->head;
image->last_entry = &image->head;
image->control_page = ~0; /* By default this does not apply */
_
Patches currently in -mm which might be from liaoyuanhong@vivo.com are
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-09-14 0:35 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:35 [merged mm-nonmm-stable] kexec_core-remove-redundant-0-value-initialization.patch removed from -mm tree Andrew Morton
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.