Skip to content
Commit fb318ca0 authored by Ard Biesheuvel's avatar Ard Biesheuvel
Browse files

x86/efistub: Avoid returning EFI_SUCCESS on error



The fail label is only used in a situation where the previous EFI API
call succeeded, and so status will be set to EFI_SUCCESS. Fix this, by
dropping the goto entirely, and call efi_exit() with the correct error
code.

Signed-off-by: default avatarArd Biesheuvel <ardb@kernel.org>
parent 71e49ecc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment