浏览代码

[libata] Build fix WRT ata_is_xxx() new API introduction

Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Jeff Garzik 17 年之前
父节点
当前提交
e39eec13ff
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/ata/libata-eh.c

+ 1 - 1
drivers/ata/libata-eh.c

@@ -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         ",