summaryrefslogtreecommitdiff
path: root/arch/loongarch/kernel/kexec_efi.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/loongarch/kernel/kexec_efi.c')
-rw-r--r--arch/loongarch/kernel/kexec_efi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/loongarch/kernel/kexec_efi.c b/arch/loongarch/kernel/kexec_efi.c
index 45121b914f8f..5ee78ebb1546 100644
--- a/arch/loongarch/kernel/kexec_efi.c
+++ b/arch/loongarch/kernel/kexec_efi.c
@@ -42,7 +42,7 @@ static void *efi_kexec_load(struct kimage *image,
{
int ret;
unsigned long text_offset, kernel_segment_number;
- struct kexec_buf kbuf;
+ struct kexec_buf kbuf = {};
struct kexec_segment *kernel_segment;
struct loongarch_image_header *h;