diff options
author | Jeff Garzik <jgarzik@pobox.com> | 2006-02-13 00:23:57 -0500 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2006-02-13 00:23:57 -0500 |
commit | db024d5398cd332023896caf70530564b15ec88e (patch) | |
tree | 3d222d99f9264fdc66e7c7ad982d33b42d566c72 | |
parent | 3875e1945b55f0eb83fe7359614a801eeb716761 (diff) |
[libata] build fix after cdb_len move
-rw-r--r-- | drivers/scsi/libata-core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/libata-core.c b/drivers/scsi/libata-core.c index 5ab220e9907c..d1803c91b81f 100644 --- a/drivers/scsi/libata-core.c +++ b/drivers/scsi/libata-core.c | |||
@@ -3282,9 +3282,9 @@ static void atapi_send_cdb(struct ata_port *ap, struct ata_queued_cmd *qc) | |||
3282 | { | 3282 | { |
3283 | /* send SCSI cdb */ | 3283 | /* send SCSI cdb */ |
3284 | DPRINTK("send cdb\n"); | 3284 | DPRINTK("send cdb\n"); |
3285 | WARN_ON(ap->cdb_len < 12); | 3285 | WARN_ON(qc->dev->cdb_len < 12); |
3286 | 3286 | ||
3287 | ata_data_xfer(ap, qc->cdb, ap->cdb_len, 1); | 3287 | ata_data_xfer(ap, qc->cdb, qc->dev->cdb_len, 1); |
3288 | ata_altstatus(ap); /* flush */ | 3288 | ata_altstatus(ap); /* flush */ |
3289 | 3289 | ||
3290 | switch (qc->tf.protocol) { | 3290 | switch (qc->tf.protocol) { |