diff options
Diffstat (limited to 'drivers/ata/libata-eh.c')
-rw-r--r-- | drivers/ata/libata-eh.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/libata-eh.c b/drivers/ata/libata-eh.c index 3a2f7ef3e600..d7d5a5ae04ef 100644 --- a/drivers/ata/libata-eh.c +++ b/drivers/ata/libata-eh.c | |||
@@ -1987,7 +1987,7 @@ static void ata_eh_link_report(struct ata_link *link) | |||
1987 | dma_str[qc->dma_dir]); | 1987 | dma_str[qc->dma_dir]); |
1988 | } | 1988 | } |
1989 | 1989 | ||
1990 | if (is_atapi_taskfile(&qc->tf)) | 1990 | if (ata_is_atapi(qc->tf.protocol)) |
1991 | snprintf(cdb_buf, sizeof(cdb_buf), | 1991 | snprintf(cdb_buf, sizeof(cdb_buf), |
1992 | "cdb %02x %02x %02x %02x %02x %02x %02x %02x " | 1992 | "cdb %02x %02x %02x %02x %02x %02x %02x %02x " |
1993 | "%02x %02x %02x %02x %02x %02x %02x %02x\n ", | 1993 | "%02x %02x %02x %02x %02x %02x %02x %02x\n ", |