Commit c44078c0 authored by Tejun Heo's avatar Tejun Heo

[PATCH] libata: silly fix in ata_scsi_start_stop_xlat()

Don't directly access &qc->tf when tf == &qc->tf.
Signed-off-by: default avatarTejun Heo <htejun@gmail.com>
parent ee7863bc
......@@ -748,7 +748,7 @@ static unsigned int ata_scsi_start_stop_xlat(struct ata_queued_cmd *qc,
tf->nsect = 1; /* 1 sector, lba=0 */
if (qc->dev->flags & ATA_DFLAG_LBA) {
qc->tf.flags |= ATA_TFLAG_LBA;
tf->flags |= ATA_TFLAG_LBA;
tf->lbah = 0x0;
tf->lbam = 0x0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment