forked from Minki/linux
[libata] Build fix WRT ata_is_xxx() new API introduction
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
This commit is contained in:
parent
76326ac1ac
commit
e39eec13ff
@ -1987,7 +1987,7 @@ static void ata_eh_link_report(struct ata_link *link)
|
||||
dma_str[qc->dma_dir]);
|
||||
}
|
||||
|
||||
if (is_atapi_taskfile(&qc->tf))
|
||||
if (ata_is_atapi(qc->tf.protocol))
|
||||
snprintf(cdb_buf, sizeof(cdb_buf),
|
||||
"cdb %02x %02x %02x %02x %02x %02x %02x %02x "
|
||||
"%02x %02x %02x %02x %02x %02x %02x %02x\n ",
|
||||
|
Loading…
Reference in New Issue
Block a user