[U-Boot] [BUG] efi_loader: efi_add_memory_map() removes mapping even on failure

26 May
2018
26 May
'18
12:51 p.m.
Hello Alex,
when I read through efi_add_memory_map() it seems that the function will delete mappings even if it later decides to return an error (e.g. EFI_CARVE_OVERLAPS_NONRAM or overlap with non-RAM).
Shouldn't existing mappings remain untouched if an error occurs?
Best regards
Heinrich
2547
Age (days ago)
2547
Last active (days ago)
0 comments
1 participants
participants (1)
-
Heinrich Schuchardt