* [U-Boot] [PATCH] efi_loader: remove more double EFI_EXIT() in efi_disk.c
@ 2017-07-26 0:28 Rob Clark
2017-07-28 22:25 ` [U-Boot] " Alexander Graf
0 siblings, 1 reply; 2+ messages in thread
From: Rob Clark @ 2017-07-26 0:28 UTC (permalink / raw)
To: u-boot
Signed-off-by: Rob Clark <robdclark@gmail.com>
---
lib/efi_loader/efi_disk.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/lib/efi_loader/efi_disk.c b/lib/efi_loader/efi_disk.c
index adf906b7dd..4bde2287b4 100644
--- a/lib/efi_loader/efi_disk.c
+++ b/lib/efi_loader/efi_disk.c
@@ -72,7 +72,7 @@ static efi_status_t EFIAPI efi_disk_rw_blocks(struct efi_block_io *this,
/* We only support full block access */
if (buffer_size & (blksz - 1))
- return EFI_EXIT(EFI_DEVICE_ERROR);
+ return EFI_DEVICE_ERROR;
if (direction == EFI_DISK_READ)
n = blk_dread(desc, lba, blocks, buffer);
@@ -85,9 +85,9 @@ static efi_status_t EFIAPI efi_disk_rw_blocks(struct efi_block_io *this,
debug("EFI: %s:%d n=%lx blocks=%x\n", __func__, __LINE__, n, blocks);
if (n != blocks)
- return EFI_EXIT(EFI_DEVICE_ERROR);
+ return EFI_DEVICE_ERROR;
- return EFI_EXIT(EFI_SUCCESS);
+ return EFI_SUCCESS;
}
static efi_status_t EFIAPI efi_disk_read_blocks(struct efi_block_io *this,
--
2.13.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [U-Boot] efi_loader: remove more double EFI_EXIT() in efi_disk.c
2017-07-26 0:28 [U-Boot] [PATCH] efi_loader: remove more double EFI_EXIT() in efi_disk.c Rob Clark
@ 2017-07-28 22:25 ` Alexander Graf
0 siblings, 0 replies; 2+ messages in thread
From: Alexander Graf @ 2017-07-28 22:25 UTC (permalink / raw)
To: u-boot
> Signed-off-by: Rob Clark <robdclark@gmail.com>
Thanks, applied to efi-next
Alex
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-07-28 22:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-26 0:28 [U-Boot] [PATCH] efi_loader: remove more double EFI_EXIT() in efi_disk.c Rob Clark
2017-07-28 22:25 ` [U-Boot] " Alexander Graf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox