diff options
author | 2021-12-16 10:44:20 -0800 | |
---|---|---|
committer | 2021-12-16 10:44:20 -0800 | |
commit | fa36bbe6d43f3bbce1f10a187e153587c7584d83 (patch) | |
tree | ac4238a5032ed62b709e08742a5da364ee3276bd /arch/arm64 | |
parent | Merge tag 'for-5.16/dm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/gi... (diff) | |
parent | arm64: kexec: Fix missing error code 'ret' warning in load_other_segments() (diff) | |
download | linux-fa36bbe6d43f3bbce1f10a187e153587c7584d83.tar.gz linux-fa36bbe6d43f3bbce1f10a187e153587c7584d83.tar.bz2 linux-fa36bbe6d43f3bbce1f10a187e153587c7584d83.zip |
Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux
Pull arm64 fix from Catalin Marinas:
"Fix missing error code on kexec failure path"
* tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux:
arm64: kexec: Fix missing error code 'ret' warning in load_other_segments()
Diffstat (limited to 'arch/arm64')
-rw-r--r-- | arch/arm64/kernel/machine_kexec_file.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm64/kernel/machine_kexec_file.c b/arch/arm64/kernel/machine_kexec_file.c index 63634b4d72c1..59c648d51848 100644 --- a/arch/arm64/kernel/machine_kexec_file.c +++ b/arch/arm64/kernel/machine_kexec_file.c @@ -149,6 +149,7 @@ int load_other_segments(struct kimage *image, initrd_len, cmdline, 0); if (!dtb) { pr_err("Preparing for new dtb failed\n"); + ret = -EINVAL; goto out_err; } |