We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 037d930 commit 51075e0Copy full SHA for 51075e0
arch/arm64/kernel/machine_kexec_file.c
@@ -284,7 +284,7 @@ int load_other_segments(struct kimage *image,
284
image->arch.elf_headers_sz = headers_sz;
285
286
pr_debug("Loaded elf core header at 0x%lx bufsz=0x%lx memsz=0x%lx\n",
287
- image->arch.elf_headers_mem, headers_sz, headers_sz);
+ image->arch.elf_headers_mem, kbuf.bufsz, kbuf.memsz);
288
}
289
290
/* load initrd */
@@ -305,7 +305,7 @@ int load_other_segments(struct kimage *image,
305
initrd_load_addr = kbuf.mem;
306
307
pr_debug("Loaded initrd at 0x%lx bufsz=0x%lx memsz=0x%lx\n",
308
- initrd_load_addr, initrd_len, initrd_len);
+ initrd_load_addr, kbuf.bufsz, kbuf.memsz);
309
310
311
/* load dtb */
@@ -332,7 +332,7 @@ int load_other_segments(struct kimage *image,
332
image->arch.dtb_mem = kbuf.mem;
333
334
pr_debug("Loaded dtb at 0x%lx bufsz=0x%lx memsz=0x%lx\n",
335
- kbuf.mem, dtb_len, dtb_len);
+ kbuf.mem, kbuf.bufsz, kbuf.memsz);
336
337
return 0;
338
0 commit comments