]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
arm64: kexec_file: return successfully even if kaslr-seed doesn't exist
authorAKASHI Takahiro <takahiro.akashi@linaro.org>
Fri, 11 Jan 2019 07:40:21 +0000 (16:40 +0900)
committerWill Deacon <will.deacon@arm.com>
Fri, 11 Jan 2019 10:10:51 +0000 (10:10 +0000)
commit279667212ab2a4f36c3b0347657ddcc11f9cfa25
tree7ec07e20c4953b8cfafe41dcc184d94ccd5fe723
parentc7777236dd8f587f6a8d6800c03df318fd4d2627
arm64: kexec_file: return successfully even if kaslr-seed doesn't exist

In kexec_file_load, kaslr-seed property of the current dtb will be deleted
any way before setting a new value if possible. It doesn't matter whether
it exists in the current dtb.

So "ret" should be reset to 0 here.

Fixes: commit 884143f60c89 ("arm64: kexec_file: add kaslr support")
Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/kernel/machine_kexec_file.c