mirror of
https://xff.cz/git/u-boot/
synced 2025-10-18 08:23:24 +02:00
efi_loader: error code efi_dp_from_name()
Use EFI_OUT_OF_RESOURCES if the device path cannot be constructed. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
This commit is contained in:
@@ -1223,7 +1223,7 @@ efi_status_t efi_dp_from_name(const char *dev, const char *devnr,
|
||||
*file = efi_dp_from_file(desc, part, path);
|
||||
|
||||
if (!*file)
|
||||
return EFI_INVALID_PARAMETER;
|
||||
return EFI_OUT_OF_RESOURCES;
|
||||
|
||||
return EFI_SUCCESS;
|
||||
}
|
||||
|
Reference in New Issue
Block a user