Skip to content
Snippets Groups Projects
Commit fcdf531d authored by Heinrich Schuchardt's avatar Heinrich Schuchardt :speech_balloon:
Browse files

efi_driver: fix efi_uc_stop()


We must always call EFI_EXIT() when returning from an EFIAPI function.

Fixes: 05ef48a2 ("efi_driver: EFI block driver")
Signed-off-by: default avatarHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: default avatarIlias Apalodimas <ilias.apalodimas@linaro.org>
parent 4d9668be
No related branches found
No related tags found
No related merge requests found
......@@ -225,9 +225,10 @@ static efi_status_t EFIAPI efi_uc_stop(
ret = disconnect_child(controller_handle,
child_handle_buffer[i]);
if (ret != EFI_SUCCESS)
return ret;
goto out;
}
return EFI_SUCCESS;
ret = EFI_SUCCESS;
goto out;
}
/* Destroy all children */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment