efi_loader: call __efi_exit_check in efi_exit
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Fri, 25 Aug 2017 17:53:14 +0000 (19:53 +0200)
committerAlexander Graf <agraf@suse.de>
Mon, 18 Sep 2017 21:53:56 +0000 (23:53 +0200)
commitda94073b42cad349879ae5741e0b0fb3ac59a067
tree443e04d24684abec6dbcebca80c67c6304551e0b
parenta80a232e965acc08d5323b2acc55da855adcf4f3
efi_loader: call __efi_exit_check in efi_exit

The calls to __efi_entry_check and __efi_exit_check have to match.
If DEBUG is defined, panic() will be called otherwise.

If debugging is activated some Travis CI builds fail due to an
assertion in EFI_CALL without the patch.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Rob Clark <robdclark@gmail.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
lib/efi_loader/efi_boottime.c