aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/libsas
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/libsas')
-rw-r--r--drivers/scsi/libsas/sas_ata.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/libsas/sas_ata.c b/drivers/scsi/libsas/sas_ata.c
index 16c3e5a581ae..004b463a1c4e 100644
--- a/drivers/scsi/libsas/sas_ata.c
+++ b/drivers/scsi/libsas/sas_ata.c
@@ -100,7 +100,7 @@ static void sas_ata_task_done(struct sas_task *task)
100 dev = qc->ap->private_data; 100 dev = qc->ap->private_data;
101 101
102 spin_lock_irqsave(dev->sata_dev.ap->lock, flags); 102 spin_lock_irqsave(dev->sata_dev.ap->lock, flags);
103 if (stat->stat == SAS_PROTO_RESPONSE) { 103 if (stat->stat == SAS_PROTO_RESPONSE || stat->stat == SAM_GOOD) {
104 ata_tf_from_fis(resp->ending_fis, &dev->sata_dev.tf); 104 ata_tf_from_fis(resp->ending_fis, &dev->sata_dev.tf);
105 qc->err_mask |= ac_err_mask(dev->sata_dev.tf.command); 105 qc->err_mask |= ac_err_mask(dev->sata_dev.tf.command);
106 dev->sata_dev.sstatus = resp->sstatus; 106 dev->sata_dev.sstatus = resp->sstatus;