diff options
author | Jeff Garzik <jgarzik@pobox.com> | 2005-12-06 05:01:27 -0500 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-12-06 05:01:27 -0500 |
commit | 278efe950988e72e2d0cea35059438fc27035d13 (patch) | |
tree | 76096041fa7eeb2b6ecd5dcc8207012952d2bbc2 /drivers/scsi | |
parent | 701db69d6647f61e4660c9102d7f2fd5dffc203d (diff) |
[libata] irq-pio: fix breakage related to err_mask merge
Diffstat (limited to 'drivers/scsi')
-rw-r--r-- | drivers/scsi/libata-core.c | 3 | ||||
-rw-r--r-- | drivers/scsi/sata_mv.c | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/drivers/scsi/libata-core.c b/drivers/scsi/libata-core.c index 82f566cf75c6..657537f96c3a 100644 --- a/drivers/scsi/libata-core.c +++ b/drivers/scsi/libata-core.c | |||
@@ -4336,7 +4336,8 @@ fsm_start: | |||
4336 | ap->id, status, host_stat); | 4336 | ap->id, status, host_stat); |
4337 | 4337 | ||
4338 | ap->hsm_task_state = HSM_ST_IDLE; | 4338 | ap->hsm_task_state = HSM_ST_IDLE; |
4339 | ata_qc_complete(qc, status | ATA_ERR); | 4339 | qc->err_mask |= __ac_err_mask(status); |
4340 | ata_qc_complete(qc); | ||
4340 | break; | 4341 | break; |
4341 | default: | 4342 | default: |
4342 | goto idle_irq; | 4343 | goto idle_irq; |
diff --git a/drivers/scsi/sata_mv.c b/drivers/scsi/sata_mv.c index ef148acb5eeb..17044168ebfe 100644 --- a/drivers/scsi/sata_mv.c +++ b/drivers/scsi/sata_mv.c | |||
@@ -1244,7 +1244,7 @@ static void mv_host_intr(struct ata_host_set *host_set, u32 relevant, | |||
1244 | /* mark qc status appropriately */ | 1244 | /* mark qc status appropriately */ |
1245 | if (!(qc->tf.flags & ATA_TFLAG_POLLING)) { | 1245 | if (!(qc->tf.flags & ATA_TFLAG_POLLING)) { |
1246 | qc->err_mask |= err_mask; | 1246 | qc->err_mask |= err_mask; |
1247 | ata_qc_complete(qc, err_mask); | 1247 | ata_qc_complete(qc); |
1248 | } | 1248 | } |
1249 | } | 1249 | } |
1250 | } | 1250 | } |