Skip to content

Commit

Permalink
[SCSI] qla2xxx: Clear error status after uncorrectable non-fatal errors.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Lalit Chandivade authored and James Bottomley committed May 16, 2010
1 parent 62542f4 commit 3e46f03
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/scsi/qla2xxx/qla_os.c
Original file line number Diff line number Diff line change
Expand Up @@ -3697,7 +3697,6 @@ qla2xxx_pci_slot_reset(struct pci_dev *pdev)
ret = PCI_ERS_RESULT_RECOVERED;
clear_bit(ABORT_ISP_ACTIVE, &base_vha->dpc_flags);

pci_cleanup_aer_uncorrect_error_status(pdev);

DEBUG17(qla_printk(KERN_WARNING, ha,
"slot_reset-return:ret=%x\n", ret));
Expand All @@ -3721,6 +3720,8 @@ qla2xxx_pci_resume(struct pci_dev *pdev)
"from slot/link_reset");
}

pci_cleanup_aer_uncorrect_error_status(pdev);

ha->flags.eeh_busy = 0;
}

Expand Down

0 comments on commit 3e46f03

Please sign in to comment.