diff options
Diffstat (limited to 'drivers/ata/libata-eh.c')
-rw-r--r-- | drivers/ata/libata-eh.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/ata/libata-eh.c b/drivers/ata/libata-eh.c index d94359a24d41..61dcd0026c64 100644 --- a/drivers/ata/libata-eh.c +++ b/drivers/ata/libata-eh.c | |||
@@ -1402,6 +1402,7 @@ static void ata_eh_analyze_ncq_error(struct ata_link *link) | |||
1402 | /* we've got the perpetrator, condemn it */ | 1402 | /* we've got the perpetrator, condemn it */ |
1403 | qc = __ata_qc_from_tag(ap, tag); | 1403 | qc = __ata_qc_from_tag(ap, tag); |
1404 | memcpy(&qc->result_tf, &tf, sizeof(tf)); | 1404 | memcpy(&qc->result_tf, &tf, sizeof(tf)); |
1405 | qc->result_tf.flags = ATA_TFLAG_ISADDR | ATA_TFLAG_LBA | ATA_TFLAG_LBA48; | ||
1405 | qc->err_mask |= AC_ERR_DEV | AC_ERR_NCQ; | 1406 | qc->err_mask |= AC_ERR_DEV | AC_ERR_NCQ; |
1406 | ehc->i.err_mask &= ~AC_ERR_DEV; | 1407 | ehc->i.err_mask &= ~AC_ERR_DEV; |
1407 | } | 1408 | } |