[PATCH v2 2/2] efi_loader: clear OsIndications

Ilias Apalodimas ilias.apalodimas at linaro.org
Wed Jun 30 21:18:13 CEST 2021


Hi Heinrich, 

>  	if (IS_ENABLED(CONFIG_EFI_CAPSULE_ON_DISK) &&

[...]

>  	    !IS_ENABLED(CONFIG_EFI_CAPSULE_ON_DISK_EARLY))
>  		ret = efi_launch_capsules();
> +	if (ret != EFI_SUCCESS)
> +		goto out;
> +

I think OsIndications should be cleared reagrdless of the capsuleupdate
result.  There's a detailed explanation on your v1

Cheers
Ilias
> +	ret = efi_clear_os_indications();
>  out:
>  	efi_obj_list_initialized = ret;
>  	return ret;
> --
> 2.30.2
> 


More information about the U-Boot mailing list