mirror of
https://xff.cz/git/u-boot/
synced 2025-09-26 13:01:17 +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:
@@ -842,7 +842,8 @@ struct efi_load_option {
|
||||
};
|
||||
|
||||
struct efi_device_path *efi_dp_from_lo(struct efi_load_option *lo,
|
||||
efi_uintn_t *size, efi_guid_t guid);
|
||||
efi_uintn_t *size,
|
||||
const efi_guid_t *guid);
|
||||
struct efi_device_path *efi_dp_concat(const struct efi_device_path *dp1,
|
||||
const struct efi_device_path *dp2);
|
||||
efi_status_t efi_deserialize_load_option(struct efi_load_option *lo, u8 *data,
|
||||
|
Reference in New Issue
Block a user