diff options
author | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2023-01-24 00:25:23 +0100 |
---|---|---|
committer | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2023-01-27 18:32:00 +0100 |
commit | cb50dda10f59fd1b790788ec9ed4096247f65fd3 (patch) | |
tree | d6642590df13ad98e3bf4d7daca0e8a40dc548bf | |
parent | 2af09d5ac4ccb1427d0777aabcce0f488cce652e (diff) | |
download | u-boot-cb50dda10f59fd1b790788ec9ed4096247f65fd3.tar.gz u-boot-cb50dda10f59fd1b790788ec9ed4096247f65fd3.tar.bz2 u-boot-cb50dda10f59fd1b790788ec9ed4096247f65fd3.zip |
efi_loader: fix comment in ESRT code
There is no variable num_pages in function efi_esrt_allocate_install().
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
-rw-r--r-- | lib/efi_loader/efi_esrt.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |