AhciPioTransfer incorrectly returns a device error when successful
>From 69105b75e17abea25c6789b55108a0601f2dd6ee Mon Sep 17 00:00:00 2001
From: Reza Jelveh <[email protected]>
Date: Sun, 22 Jun 2014 21:40:10 +0200
Subject: [PATCH] AhciPioTransfer incorrectly returns EFI_DEVICE_ERROR on
success
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Reza Jelveh <[email protected]>
---
MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AhciMode.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AhciMode.c b/MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AhciMode.c
index df22d51..44eff23 100644
--- a/MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AhciMode.c
+++ b/MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AhciMode.c
@@ -804,7 +804,6 @@ AhciPioTransfer (
Offset = FisBaseAddr + EFI_AHCI_D2H_FIS_OFFSET;
Status = AhciCheckMemSet (Offset, EFI_AHCI_FIS_TYPE_MASK, EFI_AHCI_FIS_REGISTER_D2H, NULL);
if (!EFI_ERROR (Status)) {
- Status = EFI_DEVICE_ERROR;
break;
}
--
1.9.2
------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel