summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2018-04-04 16:42:09 +0300
committerAlexander Graf <agraf@suse.de>2018-04-05 11:01:32 +0300
commit9c9021e24571505d76969d8fd37b3b5e06ad2590 (patch)
tree7d10db6610d4f9cb293b26fb6f183cf94fc52684 /lib
parent2db1eba1c3717856ebcf01727379ad2d3f19b3cc (diff)
downloadu-boot-9c9021e24571505d76969d8fd37b3b5e06ad2590.tar.xz
efi_loader: use const for GUIDs in the EFI_FILE_PROTOCOL
Use const efi_guid_t* when passing GUIDs. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'lib')
-rw-r--r--lib/efi_loader/efi_file.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/efi_loader/efi_file.c b/lib/efi_loader/efi_file.c
index 0be0f8b807..2fc77cfb87 100644
--- a/lib/efi_loader/efi_file.c
+++ b/lib/efi_loader/efi_file.c
@@ -429,7 +429,7 @@ error:
}
static efi_status_t EFIAPI efi_file_getinfo(struct efi_file_handle *file,
- efi_guid_t *info_type,
+ const efi_guid_t *info_type,
efi_uintn_t *buffer_size,
void *buffer)
{
@@ -481,7 +481,7 @@ error:
}
static efi_status_t EFIAPI efi_file_setinfo(struct efi_file_handle *file,
- efi_guid_t *info_type,
+ const efi_guid_t *info_type,
efi_uintn_t buffer_size,
void *buffer)
{