Re: [PATCH 2/5] efi_memory: use list_count_nodes() to count list entries

2024-07-31 Thread Heinrich Schuchardt
On 7/30/24 13:11, Sughosh Ganu wrote: Use the API function list_count_nodes() to count the number of EFI memory map entries. Signed-off-by: Sughosh Ganu --- lib/efi_loader/efi_memory.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/efi_loader/efi_memory.c

Re: [PATCH 2/5] efi_memory: use list_count_nodes() to count list entries

2024-07-30 Thread Simon Glass
On Tue, 30 Jul 2024 at 05:11, Sughosh Ganu wrote: > > Use the API function list_count_nodes() to count the number of EFI > memory map entries. > > Signed-off-by: Sughosh Ganu > --- > lib/efi_loader/efi_memory.c | 5 ++--- > 1 file changed, 2 insertions(+), 3 deletions(-) Reviewed-by: Simon

[PATCH 2/5] efi_memory: use list_count_nodes() to count list entries

2024-07-30 Thread Sughosh Ganu
Use the API function list_count_nodes() to count the number of EFI memory map entries. Signed-off-by: Sughosh Ganu --- lib/efi_loader/efi_memory.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/efi_loader/efi_memory.c b/lib/efi_loader/efi_memory.c index