aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi
diff options
context:
space:
mode:
authorLalit Chandivade <lalit.chandivade@qlogic.com>2010-05-04 18:01:23 -0400
committerJames Bottomley <James.Bottomley@suse.de>2010-05-16 18:21:34 -0400
commit3e46f031322bdd8d1f11e17fb7cf00c38b08dd55 (patch)
tree020e37a523cfd851dbd21f9e6a30e4b7a5967695 /drivers/scsi
parent62542f4b05a4515ff75320600ffeb2e7447d25fe (diff)
[SCSI] qla2xxx: Clear error status after uncorrectable non-fatal errors.
Currently error status is cleared only after the uncorrectable fatal errors in the qla2xxx_pci_slot_reset. This fix is added to clear the error status in qla2xxx_pci_resume. This way for both fatal and non-fatal errors the error status gets cleared properly. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=572258 Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi')
-rw-r--r--drivers/scsi/qla2xxx/qla_os.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c
index b1adeb71a8b0..f2102db03160 100644
--- a/drivers/scsi/qla2xxx/qla_os.c
+++ b/drivers/scsi/qla2xxx/qla_os.c
@@ -3697,7 +3697,6 @@ qla2xxx_pci_slot_reset(struct pci_dev *pdev)
3697 ret = PCI_ERS_RESULT_RECOVERED; 3697 ret = PCI_ERS_RESULT_RECOVERED;
3698 clear_bit(ABORT_ISP_ACTIVE, &base_vha->dpc_flags); 3698 clear_bit(ABORT_ISP_ACTIVE, &base_vha->dpc_flags);
3699 3699
3700 pci_cleanup_aer_uncorrect_error_status(pdev);
3701 3700
3702 DEBUG17(qla_printk(KERN_WARNING, ha, 3701 DEBUG17(qla_printk(KERN_WARNING, ha,
3703 "slot_reset-return:ret=%x\n", ret)); 3702 "slot_reset-return:ret=%x\n", ret));
@@ -3721,6 +3720,8 @@ qla2xxx_pci_resume(struct pci_dev *pdev)
3721 "from slot/link_reset"); 3720 "from slot/link_reset");
3722 } 3721 }
3723 3722
3723 pci_cleanup_aer_uncorrect_error_status(pdev);
3724
3724 ha->flags.eeh_busy = 0; 3725 ha->flags.eeh_busy = 0;
3725} 3726}
3726 3727