aboutsummaryrefslogtreecommitdiff
path: root/lib/efi_selftest
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2018-04-03 22:37:11 +0200
committerAlexander Graf <agraf@suse.de>2018-04-04 11:39:27 +0200
commitb6dd57773719bfcea6a295973c349b7842870337 (patch)
treef2750dfd6e9909b32ece99243db0da2d2c918c6a /lib/efi_selftest
parent43dace5d897ef1ac5eadaf906d77f671e018116f (diff)
downloadu-boot-b6dd57773719bfcea6a295973c349b7842870337.zip
u-boot-b6dd57773719bfcea6a295973c349b7842870337.tar.gz
u-boot-b6dd57773719bfcea6a295973c349b7842870337.tar.bz2
efi_loader: use correct types in EFI_FILE_PROTOCOL
In the EFI_FILE_PROTOCOL buffer sizes and positions are passed as UINTN and not as u64. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'lib/efi_selftest')
-rw-r--r--lib/efi_selftest/efi_selftest_block_device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/efi_selftest/efi_selftest_block_device.c b/lib/efi_selftest/efi_selftest_block_device.c
index 9e4b93d..b07b224 100644
--- a/lib/efi_selftest/efi_selftest_block_device.c
+++ b/lib/efi_selftest/efi_selftest_block_device.c
@@ -302,7 +302,7 @@ static int execute(void)
struct efi_device_path *dp_partition;
struct efi_simple_file_system_protocol *file_system;
struct efi_file_handle *root, *file;
- u64 buf_size;
+ efi_uintn_t buf_size;
char buf[16] __aligned(ARCH_DMA_MINALIGN);
ret = boottime->connect_controller(disk_handle, NULL, NULL, 1);