aboutsummaryrefslogtreecommitdiffstats
path: root/arch/riscv/kernel/machine_kexec_file.c
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2025-09-21 14:19:36 -0700
committerAndrew Morton <akpm@linux-foundation.org>2025-09-21 14:19:36 -0700
commitbc9950b56f16e9cc53879118bfddcc175355a75a (patch)
tree484cc703bc50a82af45288fffdf92c8a03debf27 /arch/riscv/kernel/machine_kexec_file.c
parentmaple_tree: testing fix for spanning store on 32b (diff)
parentzram: fix slot write race condition (diff)
downloadlinux-bc9950b56f16e9cc53879118bfddcc175355a75a.tar.gz
linux-bc9950b56f16e9cc53879118bfddcc175355a75a.zip
Merge branch 'mm-hotfixes-stable' into mm-stable in order to pick up
changes required by mm-stable material: hugetlb and damon.
Diffstat (limited to 'arch/riscv/kernel/machine_kexec_file.c')
-rw-r--r--arch/riscv/kernel/machine_kexec_file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/riscv/kernel/machine_kexec_file.c b/arch/riscv/kernel/machine_kexec_file.c
index e36104af2e24..b9eb41b0a975 100644
--- a/arch/riscv/kernel/machine_kexec_file.c
+++ b/arch/riscv/kernel/machine_kexec_file.c
@@ -261,7 +261,7 @@ int load_extra_segments(struct kimage *image, unsigned long kernel_start,
int ret;
void *fdt;
unsigned long initrd_pbase = 0UL;
- struct kexec_buf kbuf;
+ struct kexec_buf kbuf = {};
char *modified_cmdline = NULL;
kbuf.image = image;