Message ID | 20170920222345.13211-1-robdclark@gmail.com |
---|---|
State | Accepted |
Commit | 7dd5d44753969167a6059405635bdb8b9d961fa1 |
Headers | show |
Series | [U-Boot] efi_loader: fix efi_exit | expand |
> efi_exit() already restores gd, so we shouldn't EFI_EXIT() on the > otherside of the longjmp(). > > Signed-off-by: Rob Clark <robdclark@gmail.com> Thanks, applied to efi-next Alex
diff --git a/cmd/bootefi.c b/cmd/bootefi.c index fdfed1be05..a049e5f64d 100644 --- a/cmd/bootefi.c +++ b/cmd/bootefi.c @@ -191,7 +191,6 @@ static unsigned long do_bootefi_exec(void *efi, void *fdt, if (setjmp(&loaded_image_info.exit_jmp)) { ret = loaded_image_info.exit_status; - EFI_EXIT(ret); goto exit; }
efi_exit() already restores gd, so we shouldn't EFI_EXIT() on the otherside of the longjmp(). Signed-off-by: Rob Clark <robdclark@gmail.com> --- cmd/bootefi.c | 1 - 1 file changed, 1 deletion(-)