summaryrefslogtreecommitdiff
path: root/lib/efi_loader/efi_memory.c
diff options
context:
space:
mode:
authorIlias Apalodimas <ilias.apalodimas@linaro.org>2024-10-23 18:22:00 +0300
committerTom Rini <trini@konsulko.com>2024-10-29 16:17:47 -0600
commit0f57b009e649e9d140b7f662599a5ace506e2418 (patch)
tree22083d34e326c8312b87964726d00536f418c3bc /lib/efi_loader/efi_memory.c
parent92e75ee47f12131306b6a0c501bf8b7cedfe3818 (diff)
lmb: Fix lmb_add_region_flags() return codes and testing
The function description says this should return 0 or -1 on failures. When regions coalesce though this returns the number of coalescedregions which is confusing and requires special handling of the return code. On top of that no one is using the number of coalesced regions. So let's just return 0 on success and adjust our selftests accordingly Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> Reviewed-by: Caleb Connolly <caleb.connolly@linaro.org>
Diffstat (limited to 'lib/efi_loader/efi_memory.c')
0 files changed, 0 insertions, 0 deletions