diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2018-04-03 22:37:11 +0200 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2018-04-04 11:39:27 +0200 |
commit | b6dd57773719bfcea6a295973c349b7842870337 (patch) | |
tree | f2750dfd6e9909b32ece99243db0da2d2c918c6a /lib/efi_selftest | |
parent | 43dace5d897ef1ac5eadaf906d77f671e018116f (diff) | |
download | u-boot-b6dd57773719bfcea6a295973c349b7842870337.tar.gz u-boot-b6dd57773719bfcea6a295973c349b7842870337.tar.xz u-boot-b6dd57773719bfcea6a295973c349b7842870337.zip |
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.c | 2 |
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 9e4b93d9a6..b07b22465f 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); |