aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/libata-eh.c
diff options
context:
space:
mode:
authorTejun Heo <htejun@gmail.com>2006-05-15 07:57:56 -0400
committerTejun Heo <htejun@gmail.com>2006-05-15 07:57:56 -0400
commitf15a1dafed22d5037e0feea7528e1eeb28a1a7a3 (patch)
tree5bf5c98332036d62bd4cca3a104844faa318c712 /drivers/scsi/libata-eh.c
parent61440db61fe4945ad9f7b32b4d6a22b17174aa1f (diff)
[PATCH] libata: use ATA printk helpers
Use ATA printk helpers. Signed-off-by: Tejun Heo <htejun@gmail.com>
Diffstat (limited to 'drivers/scsi/libata-eh.c')
-rw-r--r--drivers/scsi/libata-eh.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/scsi/libata-eh.c b/drivers/scsi/libata-eh.c
index c31b13fd5307..959a1cdffac2 100644
--- a/drivers/scsi/libata-eh.c
+++ b/drivers/scsi/libata-eh.c
@@ -167,8 +167,9 @@ static void ata_qc_timeout(struct ata_queued_cmd *qc)
167 /* ack bmdma irq events */ 167 /* ack bmdma irq events */
168 ap->ops->irq_clear(ap); 168 ap->ops->irq_clear(ap);
169 169
170 printk(KERN_ERR "ata%u: command 0x%x timeout, stat 0x%x host_stat 0x%x\n", 170 ata_dev_printk(qc->dev, KERN_ERR, "command 0x%x timeout, "
171 ap->id, qc->tf.command, drv_stat, host_stat); 171 "stat 0x%x host_stat 0x%x\n",
172 qc->tf.command, drv_stat, host_stat);
172 173
173 /* complete taskfile transaction */ 174 /* complete taskfile transaction */
174 qc->err_mask |= ac_err_mask(drv_stat); 175 qc->err_mask |= ac_err_mask(drv_stat);