diff options
author | Heinrich Schuchardt | 2024-04-26 16:13:08 +0200 |
---|---|---|
committer | Heinrich Schuchardt | 2024-05-01 08:40:42 +0200 |
commit | 8745f13fe102968f58a9e2e5f69ad153a675b59c (patch) | |
tree | cd5b5ae2fd542e757e052f7beb6407bbf07ed8b5 /include/efi_loader.h | |
parent | b3193562388a36e0098501887adda9771cd43db6 (diff) |
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>
Diffstat (limited to 'include/efi_loader.h')
-rw-r--r-- | include/efi_loader.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/efi_loader.h b/include/efi_loader.h index 69442f4e58d..9600941aa32 100644 --- a/include/efi_loader.h +++ b/include/efi_loader.h @@ -743,7 +743,7 @@ efi_status_t EFIAPI efi_register_protocol_notify(const efi_guid_t *protocol, efi_status_t efi_file_size(struct efi_file_handle *fh, efi_uintn_t *size); /* get a device path from a Boot#### option */ -struct efi_device_path *efi_get_dp_from_boot(const efi_guid_t guid); +struct efi_device_path *efi_get_dp_from_boot(const efi_guid_t *guid); /* get len, string (used in u-boot crypto from a guid */ const char *guid_to_sha_str(const efi_guid_t *guid); |