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 3df74a08fe22..25a47d7afa28 100644 --- a/drivers/scsi/ahci.c +++ b/drivers/scsi/ahci.c | |||
@@ -608,7 +608,7 @@ static void ahci_eng_timeout(struct ata_port *ap) | |||
608 | * not being called from the SCSI EH. | 608 | * not being called from the SCSI EH. |
609 | */ | 609 | */ |
610 | qc->scsidone = scsi_finish_command; | 610 | qc->scsidone = scsi_finish_command; |
611 | ata_qc_complete(qc, ATA_ERR); | 611 | ata_qc_complete(qc, AC_ERR_OTHER); |
612 | } | 612 | } |
613 | 613 | ||
614 | spin_unlock_irqrestore(&host_set->lock, flags); | 614 | spin_unlock_irqrestore(&host_set->lock, flags); |
@@ -637,7 +637,7 @@ static inline int ahci_host_intr(struct ata_port *ap, struct ata_queued_cmd *qc) | |||
637 | if (status & PORT_IRQ_FATAL) { | 637 | if (status & PORT_IRQ_FATAL) { |
638 | ahci_intr_error(ap, status); | 638 | ahci_intr_error(ap, status); |
639 | if (qc) | 639 | if (qc) |
640 | ata_qc_complete(qc, ATA_ERR); | 640 | ata_qc_complete(qc, AC_ERR_OTHER); |
641 | } | 641 | } |
642 | 642 | ||
643 | return 1; | 643 | return 1; |