diff options
Diffstat (limited to 'drivers/scsi/libata-scsi.c')
-rw-r--r-- | drivers/scsi/libata-scsi.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/scsi/libata-scsi.c b/drivers/scsi/libata-scsi.c index ce3fe928a386..c496309f691a 100644 --- a/drivers/scsi/libata-scsi.c +++ b/drivers/scsi/libata-scsi.c | |||
@@ -1322,8 +1322,10 @@ static void ata_scsi_translate(struct ata_port *ap, struct ata_device *dev, | |||
1322 | goto early_finish; | 1322 | goto early_finish; |
1323 | 1323 | ||
1324 | /* select device, send command to hardware */ | 1324 | /* select device, send command to hardware */ |
1325 | if (ata_qc_issue(qc)) | 1325 | if (ata_qc_issue(qc)) { |
1326 | goto err_did; | 1326 | qc->err_mask |= AC_ERR_OTHER; |
1327 | ata_qc_complete(qc); | ||
1328 | } | ||
1327 | 1329 | ||
1328 | VPRINTK("EXIT\n"); | 1330 | VPRINTK("EXIT\n"); |
1329 | return; | 1331 | return; |