]> www.infradead.org Git - users/dwmw2/linux.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 22 Jun 2020 07:32:36 +0000 (09:32 +0200)
commit772b3174d28caf6287a018b0547e76e2b8f1234b
tree749efa7f65984eb0c0034753e3078368b460c68f
parent7f31796300323bdfe5615513314c02449d751f5f
arm64: kexec_file: print appropriate variable

[ Upstream commit 51075e0cb759a736e60ab4f3a5fed8670dba5852 ]

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

Fixes: 52b2a8af74360 ("arm64: kexec_file: load initrd and device-tree")
Fixes: 3751e728cef29 ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm64/kernel/machine_kexec_file.c