]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: kexec_file: print appropriate variable
authorŁukasz Stelmach <l.stelmach@samsung.com>
Thu, 30 Apr 2020 16:31:41 +0000 (18:31 +0200)
committerWill Deacon <will@kernel.org>
Thu, 30 Apr 2020 20:31:22 +0000 (21:31 +0100)
commit2549f1f86f623efb0619220fb3d901f2b887c66d
tree4d101a92f2459f0326f1a73a253a4a122e4de217
parenteeac77130dc8802e6d65a86a15ef56072be2e9ea
arm64: kexec_file: print appropriate variable

The value of kbuf->memsz may be different than kbuf->bufsz after calling
kexec_add_buffer(). Hence both values should be logged.

Fixes: f21e973e678af ("arm64: kexec_file: load initrd and device-tree")
Fixes: 8899631065d1f ("arm64: kexec_file: add crash dump support")
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
Cc: AKASHI Takahiro <takahiro.akashi@linaro.org>
Cc: James Morse <james.morse@arm.com>
Cc: Bhupesh Sharma <bhsharma@redhat.com>
Link: https://lore.kernel.org/r/20200430163142.27282-2-l.stelmach@samsung.com
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/kernel/machine_kexec_file.c