diff options
Diffstat (limited to 'drivers/scsi/ahci.c')
| -rw-r--r-- | drivers/scsi/ahci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/ahci.c b/drivers/scsi/ahci.c index 03829aedfd39..5efb3c50aa8a 100644 --- a/drivers/scsi/ahci.c +++ b/drivers/scsi/ahci.c | |||
| @@ -600,7 +600,7 @@ static void ahci_eng_timeout(struct ata_port *ap) | |||
| 600 | * not being called from the SCSI EH. | 600 | * not being called from the SCSI EH. |
| 601 | */ | 601 | */ |
| 602 | qc->scsidone = scsi_finish_command; | 602 | qc->scsidone = scsi_finish_command; |
| 603 | ata_qc_complete(qc, ATA_ERR); | 603 | ata_qc_complete(qc, AC_ERR_OTHER); |
| 604 | } | 604 | } |
| 605 | 605 | ||
| 606 | spin_unlock_irqrestore(&host_set->lock, flags); | 606 | spin_unlock_irqrestore(&host_set->lock, flags); |
| @@ -629,7 +629,7 @@ static inline int ahci_host_intr(struct ata_port *ap, struct ata_queued_cmd *qc) | |||
| 629 | if (status & PORT_IRQ_FATAL) { | 629 | if (status & PORT_IRQ_FATAL) { |
| 630 | ahci_intr_error(ap, status); | 630 | ahci_intr_error(ap, status); |
| 631 | if (qc) | 631 | if (qc) |
| 632 | ata_qc_complete(qc, ATA_ERR); | 632 | ata_qc_complete(qc, AC_ERR_OTHER); |
| 633 | } | 633 | } |
| 634 | 634 | ||
| 635 | return 1; | 635 | return 1; |
