diff options
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) | |||
516 | return 0; | 516 | return 0; |
517 | 517 | ||
518 | err: | 518 | err: |
519 | printk(KERN_ERR "ata%u: softreset failed (%s)\n", ap->id, reason); | 519 | ata_port_printk(ap, KERN_ERR, "softreset failed (%s)\n", reason); |
520 | return -EIO; | 520 | return -EIO; |
521 | } | 521 | } |
522 | 522 | ||
@@ -561,7 +561,7 @@ static int sil24_hardreset(struct ata_port *ap, unsigned int *class) | |||
561 | return 0; | 561 | return 0; |
562 | 562 | ||
563 | err: | 563 | err: |
564 | printk(KERN_ERR "ata%u: hardreset failed (%s)\n", ap->id, reason); | 564 | ata_port_printk(ap, KERN_ERR, "hardreset failed (%s)\n", reason); |
565 | return -EIO; | 565 | return -EIO; |
566 | } | 566 | } |
567 | 567 | ||
@@ -721,7 +721,7 @@ static void sil24_eng_timeout(struct ata_port *ap) | |||
721 | 721 | ||
722 | qc = ata_qc_from_tag(ap, ap->active_tag); | 722 | qc = ata_qc_from_tag(ap, ap->active_tag); |
723 | 723 | ||
724 | printk(KERN_ERR "ata%u: command timeout\n", ap->id); | 724 | ata_port_printk(ap, KERN_ERR, "command timeout\n"); |
725 | qc->err_mask |= AC_ERR_TIMEOUT; | 725 | qc->err_mask |= AC_ERR_TIMEOUT; |
726 | ata_eh_qc_complete(qc); | 726 | ata_eh_qc_complete(qc); |
727 | 727 | ||