diff options
author | Tom Rini <trini@konsulko.com> | 2019-12-03 18:12:58 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-12-03 18:12:58 -0500 |
commit | 94d022bb400890f22fe35220d2519c3bce73f05e (patch) | |
tree | 1a83ff4b3e97cff25868303f101bb88bcc514289 /cmd | |
parent | a7bbaf8c1345906affb8dd6faa6a3aaedac3f451 (diff) | |
parent | 0bffb8c46b109dcd8766e78c357147c07333f6b6 (diff) | |
download | u-boot-94d022bb400890f22fe35220d2519c3bce73f05e.tar.gz |
Merge tag 'efi-2020-01-rc5' of https://gitlab.denx.de/u-boot/custodians/u-boot-efiWIP/03Dec2019
Pull request for UEFI sub-system for efi-2020-01-rc5
A type error in the implementation of the efidebug command is fixed.
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/efidebug.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/efidebug.c b/cmd/efidebug.c index ef97e19d07..1fff4390de 100644 --- a/cmd/efidebug.c +++ b/cmd/efidebug.c @@ -684,7 +684,7 @@ static void show_efi_boot_opt(int id) efi_guid_t guid; void *data = NULL; efi_uintn_t size; - int ret; + efi_status_t ret; sprintf(var_name, "Boot%04X", id); p = var_name16; @@ -693,7 +693,7 @@ static void show_efi_boot_opt(int id) size = 0; ret = EFI_CALL(RT->get_variable(var_name16, &guid, NULL, &size, NULL)); - if (ret == (int)EFI_BUFFER_TOO_SMALL) { + if (ret == EFI_BUFFER_TOO_SMALL) { data = malloc(size); ret = EFI_CALL(RT->get_variable(var_name16, &guid, NULL, &size, data)); |