]> git.dujemihanovic.xyz Git - u-boot.git/commit
efi_memory: get the efi_mem_list node directly
authorSughosh Ganu <sughosh.ganu@linaro.org>
Tue, 30 Jul 2024 11:11:31 +0000 (16:41 +0530)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Wed, 31 Jul 2024 07:54:49 +0000 (09:54 +0200)
commite464ad085e522d09fadd825c2a1246450ff3188c
tree29ae219f52a000320a74bce68055b213adf8bcba
parent7aa0addc42ef1674a7baaf9d0428db943c3f2e5f
efi_memory: get the efi_mem_list node directly

Use the list_for_each_entry() API to get the efi_mem_list node
directly, instead of making an additional call to list_entry().

Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org>
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
lib/efi_loader/efi_memory.c