diff options
author | erictian <erictian@6f19259b-4bc3-4df7-8a09-765794883524> | 2012-08-20 02:17:49 +0000 |
---|---|---|
committer | erictian <erictian@6f19259b-4bc3-4df7-8a09-765794883524> | 2012-08-20 02:17:49 +0000 |
commit | ca89ab9ce852737d4b6e1375a18478473f37706f (patch) | |
tree | bfbd85b0cc46fb13fcbc0665d38038619560ca7d /IntelFrameworkModulePkg | |
parent | be02dcee3a28cfd2e340dec5b262657aea5e0655 (diff) | |
download | edk2-platforms-ca89ab9ce852737d4b6e1375a18478473f37706f.tar.xz |
IntelFrameworkModulePkg/IdeBusDxe: Add error check on the return status of invoking AtaSoftReset().
Signed-off-by: Tian Feng <feng.tian@intel.com>
Reviewed-by: Jeff Fan <jeff.fan@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13647 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'IntelFrameworkModulePkg')
-rw-r--r-- | IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBus.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBus.c b/IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBus.c index a38611304f..597ada2610 100644 --- a/IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBus.c +++ b/IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBus.c @@ -1473,7 +1473,7 @@ ClearInterrupt ( // Reset IDE device to force it de-assert interrupt pin
// Note: this will reset all devices on this IDE channel
//
- AtaSoftReset (IdeDev);
+ Status = AtaSoftReset (IdeDev);
if (EFI_ERROR (Status)) {
return;
}
|