All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/1] efi_loader: fix comment in ESRT code
@ 2023-01-23 23:26 Heinrich Schuchardt
  2023-01-24 10:25 ` Ilias Apalodimas
  0 siblings, 1 reply; 2+ messages in thread
From: Heinrich Schuchardt @ 2023-01-23 23:26 UTC (permalink / raw)
  To: Ilias Apalodimas; +Cc: u-boot, Heinrich Schuchardt

There is no variable num_pages in function efi_esrt_allocate_install().

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
---
 lib/efi_loader/efi_esrt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/efi_loader/efi_esrt.c b/lib/efi_loader/efi_esrt.c
index dcc08a6d3a..7f46d651e6 100644
--- a/lib/efi_loader/efi_esrt.c
+++ b/lib/efi_loader/efi_esrt.c
@@ -115,7 +115,7 @@ efi_status_t efi_esrt_allocate_install(u32 num_entries)
 	u32 size = efi_esrt_entries_to_size(num_entries);
 	efi_guid_t esrt_guid = efi_esrt_guid;
 
-	/* Reserve num_pages for ESRT */
+	/* Reserve memory for ESRT */
 	ret = efi_allocate_pool(EFI_BOOT_SERVICES_DATA, size,
 				(void **)&new_esrt);
 
-- 
2.38.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH 1/1] efi_loader: fix comment in ESRT code
  2023-01-23 23:26 [PATCH 1/1] efi_loader: fix comment in ESRT code Heinrich Schuchardt
@ 2023-01-24 10:25 ` Ilias Apalodimas
  0 siblings, 0 replies; 2+ messages in thread
From: Ilias Apalodimas @ 2023-01-24 10:25 UTC (permalink / raw)
  To: Heinrich Schuchardt; +Cc: u-boot

On Tue, Jan 24, 2023 at 12:26:45AM +0100, Heinrich Schuchardt wrote:
> There is no variable num_pages in function efi_esrt_allocate_install().
>
> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
> ---
>  lib/efi_loader/efi_esrt.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/lib/efi_loader/efi_esrt.c b/lib/efi_loader/efi_esrt.c
> index dcc08a6d3a..7f46d651e6 100644
> --- a/lib/efi_loader/efi_esrt.c
> +++ b/lib/efi_loader/efi_esrt.c
> @@ -115,7 +115,7 @@ efi_status_t efi_esrt_allocate_install(u32 num_entries)
>  	u32 size = efi_esrt_entries_to_size(num_entries);
>  	efi_guid_t esrt_guid = efi_esrt_guid;
>
> -	/* Reserve num_pages for ESRT */
> +	/* Reserve memory for ESRT */
>  	ret = efi_allocate_pool(EFI_BOOT_SERVICES_DATA, size,
>  				(void **)&new_esrt);
>
> --
> 2.38.1
>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-01-24 10:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-23 23:26 [PATCH 1/1] efi_loader: fix comment in ESRT code Heinrich Schuchardt
2023-01-24 10:25 ` Ilias Apalodimas

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.