]> git.proxmox.com Git - mirror_edk2.git/commitdiff
IntelFrameworkModulePkg/IdeBusDxe: Add error check on the return status of invoking...
authorerictian <erictian@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 20 Aug 2012 02:17:49 +0000 (02:17 +0000)
committererictian <erictian@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 20 Aug 2012 02:17:49 +0000 (02:17 +0000)
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

IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBus.c

index a38611304f75a1ae8ee4493e9713d6075de8f108..597ada2610fb7c4a357dadbe31d279ca9dce9b7f 100644 (file)
@@ -1473,7 +1473,7 @@ ClearInterrupt (
   // Reset IDE device to force it de-assert interrupt pin\r
   // Note: this will reset all devices on this IDE channel\r
   //\r
-  AtaSoftReset (IdeDev);\r
+  Status = AtaSoftReset (IdeDev);\r
   if (EFI_ERROR (Status)) {\r
     return;\r
   }\r