aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/ahci.c
diff options
context:
space:
mode:
authorJeff Garzik <jgarzik@pobox.com>2005-10-30 04:50:22 -0500
committerJeff Garzik <jgarzik@pobox.com>2005-10-30 04:50:22 -0500
commit054ee8fd39f1b5d50e803f126b63f400d631eea4 (patch)
tree2819e388f853de88e09635de8e38017b563069bc /drivers/scsi/ahci.c
parentf0612bbc41f65f5a684f69d714a1a17a6f0f40c5 (diff)
parenta7dac447bb9cef27d4d29cdf63e2d7809c50b1f4 (diff)
Merge branch 'upstream'
Diffstat (limited to 'drivers/scsi/ahci.c')
-rw-r--r--drivers/scsi/ahci.c4
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;