Skip to content

Commit fa36bbe

Browse files
committed
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()
2 parents 81eebd5 + 9c5d89b commit fa36bbe

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/arm64/kernel/machine_kexec_file.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ int load_other_segments(struct kimage *image,
149149
initrd_len, cmdline, 0);
150150
if (!dtb) {
151151
pr_err("Preparing for new dtb failed\n");
152+
ret = -EINVAL;
152153
goto out_err;
153154
}
154155

0 commit comments

Comments
 (0)