projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee7863b
)
[PATCH] libata: silly fix in ata_scsi_start_stop_xlat()
author
Tejun Heo
<htejun@gmail.com>
Mon, 15 May 2006 11:57:21 +0000
(20:57 +0900)
committer
Tejun Heo
<htejun@gmail.com>
Mon, 15 May 2006 11:57:21 +0000
(20:57 +0900)
Don't directly access &qc->tf when tf == &qc->tf.
Signed-off-by: Tejun Heo <htejun@gmail.com>
drivers/scsi/libata-scsi.c
patch
|
blob
|
history
diff --git
a/drivers/scsi/libata-scsi.c
b/drivers/scsi/libata-scsi.c
index 9871f8272df0b53a74aa68a42243e63e91c49f13..b0c83c28d5785da4993d6fac66975abcdc2a61dc 100644
(file)
--- a/
drivers/scsi/libata-scsi.c
+++ b/
drivers/scsi/libata-scsi.c
@@
-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;