summaryrefslogtreecommitdiff
path: root/lib/efi_loader/efi_image_loader.c
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2018-03-15 15:08:16 +0100
committerAlexander Graf <agraf@suse.de>2018-04-04 11:09:06 +0200
commit813468cdbd7287f0b2e38f9702aa3eee37b1c5b5 (patch)
tree9376987fe5b8ecc3cc90105ae64e4a8a8e82452f /lib/efi_loader/efi_image_loader.c
parent8e475064097d182191129e31846c585421f0f85a (diff)
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: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'lib/efi_loader/efi_image_loader.c')
0 files changed, 0 insertions, 0 deletions