mirror of
https://xff.cz/git/u-boot/
synced 2025-10-21 18:13:39 +02:00
efi_loader: efi_dp_from_lo() don't copy GUID
Instead of copying a GUID and then using a pointer to the copy for calling guidcmp(), just pass the pointer to the orginal GUID. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
This commit is contained in:
@@ -83,7 +83,7 @@ struct efi_device_path *efi_get_dp_from_boot(const efi_guid_t guid)
|
||||
if (ret != EFI_SUCCESS)
|
||||
goto out;
|
||||
|
||||
tmp = efi_dp_from_lo(&lo, &size, guid);
|
||||
tmp = efi_dp_from_lo(&lo, &size, &guid);
|
||||
if (!tmp)
|
||||
goto out;
|
||||
|
||||
|
Reference in New Issue
Block a user