diff options
author | Tejun Heo <htejun@gmail.com> | 2006-05-15 15:57:56 +0400 |
---|---|---|
committer | Tejun Heo <htejun@gmail.com> | 2006-05-15 15:57:56 +0400 |
commit | f15a1dafed22d5037e0feea7528e1eeb28a1a7a3 (patch) | |
tree | 5bf5c98332036d62bd4cca3a104844faa318c712 /drivers/scsi/sata_sil24.c | |
parent | 61440db61fe4945ad9f7b32b4d6a22b17174aa1f (diff) | |
download | linux-f15a1dafed22d5037e0feea7528e1eeb28a1a7a3.tar.xz |
[PATCH] libata: use ATA printk helpers
Use ATA printk helpers.
Signed-off-by: Tejun Heo <htejun@gmail.com>
Diffstat (limited to 'drivers/scsi/sata_sil24.c')
-rw-r--r-- | drivers/scsi/sata_sil24.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/scsi/sata_sil24.c b/drivers/scsi/sata_sil24.c index bedc787dafd1..ff96724b1e38 100644 --- a/drivers/scsi/sata_sil24.c +++ b/drivers/scsi/sata_sil24.c @@ -516,7 +516,7 @@ static int sil24_softreset(struct ata_port *ap, unsigned int *class) return 0; err: - printk(KERN_ERR "ata%u: softreset failed (%s)\n", ap->id, reason); + ata_port_printk(ap, KERN_ERR, "softreset failed (%s)\n", reason); return -EIO; } @@ -561,7 +561,7 @@ static int sil24_hardreset(struct ata_port *ap, unsigned int *class) return 0; err: - printk(KERN_ERR "ata%u: hardreset failed (%s)\n", ap->id, reason); + ata_port_printk(ap, KERN_ERR, "hardreset failed (%s)\n", reason); return -EIO; } @@ -721,7 +721,7 @@ static void sil24_eng_timeout(struct ata_port *ap) qc = ata_qc_from_tag(ap, ap->active_tag); - printk(KERN_ERR "ata%u: command timeout\n", ap->id); + ata_port_printk(ap, KERN_ERR, "command timeout\n"); qc->err_mask |= AC_ERR_TIMEOUT; ata_eh_qc_complete(qc); |