Skip to content
Snippets Groups Projects
Commit 813468cd authored by Alexander Graf's avatar Alexander Graf
Browse files

efi_loader: Fix return value for efi_add_runtime_mmio


The efi_add_runtime_mmio function incorrectly returned the added
address as return value rather than EFI_SUCCESS. Fix it by checking
the return value of efi_add_memory_map properly.

Fixes: f057cfef5dc ("efi_loader: exit status for efi_reset_system_init")
Signed-off-by: default avatarAlexander Graf <agraf@suse.de>
parent 8e475064
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment