mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
[libata] build fix after cdb_len move
This commit is contained in:
parent
3875e1945b
commit
db024d5398
1 changed files with 2 additions and 2 deletions
|
@ -3282,9 +3282,9 @@ static void atapi_send_cdb(struct ata_port *ap, struct ata_queued_cmd *qc)
|
|||
{
|
||||
/* send SCSI cdb */
|
||||
DPRINTK("send cdb\n");
|
||||
WARN_ON(ap->cdb_len < 12);
|
||||
WARN_ON(qc->dev->cdb_len < 12);
|
||||
|
||||
ata_data_xfer(ap, qc->cdb, ap->cdb_len, 1);
|
||||
ata_data_xfer(ap, qc->cdb, qc->dev->cdb_len, 1);
|
||||
ata_altstatus(ap); /* flush */
|
||||
|
||||
switch (qc->tf.protocol) {
|
||||
|
|
Loading…
Add table
Reference in a new issue