efi_loader: return status from efi_setup_loaded_image()
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Mon, 4 Dec 2017 17:03:01 +0000 (18:03 +0100)
committerAlexander Graf <agraf@suse.de>
Sat, 16 Dec 2017 22:07:25 +0000 (23:07 +0100)
commit56d92888582fe6fba9ba9968ac524f86b4e06389
treeb6fce48777b13d1ae7f6bb46e548757bd93c814d
parent905cb9e1720294d244bc9273c45dc76c33f6034e
efi_loader: return status from efi_setup_loaded_image()

efi_setup_loaded_image() should return an error code indicating if
an error has occurred.

An error occurs if a protocol cannot be installed.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
include/efi_loader.h
lib/efi_loader/efi_boottime.c