[PATCH 2/2] efi_loader: fix typo initd_sz to initrd_sz

Heinrich Schuchardt xypron.glpk at gmx.de
Thu May 1 07:32:44 CEST 2025


On 5/1/25 03:15, Adriano Cordova wrote:
> Signed-off-by: Adriano Cordova <adriano.cordova at canonical.com>

This is just the same patch as already reviewed by Ilias and me in your 
v3 series.

Reviewed-by: Ilias Apalodimas <ilias.apalodimas at linaro.org>
Reviewed-by: Heinrich Schuchardt <xypron.glpk at gmx.de>

> ---
>   lib/efi_loader/efi_bootbin.c | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/lib/efi_loader/efi_bootbin.c b/lib/efi_loader/efi_bootbin.c
> index 637f2c0d195..db4478ee0bf 100644
> --- a/lib/efi_loader/efi_bootbin.c
> +++ b/lib/efi_loader/efi_bootbin.c
> @@ -215,7 +215,7 @@ out:
>    * Return:	status code
>    */
>   static efi_status_t efi_binary_run_dp(void *image, size_t size, void *fdt,
> -				      void *initrd, size_t initd_sz,
> +				      void *initrd, size_t initrd_sz,
>   				      struct efi_device_path *dp_dev,
>   				      struct efi_device_path *dp_img)
>   {
> @@ -235,7 +235,7 @@ static efi_status_t efi_binary_run_dp(void *image, size_t size, void *fdt,
>   
>   	/* Set initrd if provided */
>   	if (IS_ENABLED(CONFIG_EFI_LOAD_FILE2_INITRD)) {
> -		ret = efi_initrd_set_from_mem(initrd, initd_sz);
> +		ret = efi_initrd_set_from_mem(initrd, initrd_sz);
>   		if (ret != EFI_SUCCESS)
>   			return ret;
>   	}



More information about the U-Boot mailing list