mirror of
https://xff.cz/git/u-boot/
synced 2025-09-25 12:31:17 +02:00
efi_loader: pass GUID by address to efi_dp_from_lo
We should not pass GUIDs by value as this requires copying. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
This commit is contained in:
@@ -63,7 +63,7 @@ static efi_status_t get_initrd_fp(struct efi_device_path **initrd_fp)
|
||||
* We can then use this specific return value and not install the
|
||||
* protocol, while allowing the boot to continue
|
||||
*/
|
||||
dp = efi_get_dp_from_boot(efi_lf2_initrd_guid);
|
||||
dp = efi_get_dp_from_boot(&efi_lf2_initrd_guid);
|
||||
if (!dp)
|
||||
return EFI_INVALID_PARAMETER;
|
||||
|
||||
|
Reference in New Issue
Block a user