diff options
author | Tejun Heo <tj@kernel.org> | 2008-07-31 09:08:38 +0200 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-08-22 08:19:44 +0200 |
commit | da0e21d3fa2340114fe24821718a1b57123e4664 (patch) | |
tree | f0f1bde3d90cf149dd644800f63f74de61257a12 /drivers/ata | |
parent | libata: always do follow-up SRST if hardreset returned -EAGAIN (diff) | |
download | linux-da0e21d3fa2340114fe24821718a1b57123e4664.tar.xz linux-da0e21d3fa2340114fe24821718a1b57123e4664.zip |
libata: use ata_link_printk() when printing SError
SError belongs to link not port. Use ata_link_printk() to print it.
Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/ata')
-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 d4dad47b8f17..c1db2f234d2e 100644 --- a/drivers/ata/libata-eh.c +++ b/drivers/ata/libata-eh.c @@ -2040,7 +2040,7 @@ static void ata_eh_link_report(struct ata_link *link) } if (ehc->i.serror) - ata_port_printk(ap, KERN_ERR, + ata_link_printk(link, KERN_ERR, "SError: { %s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s}\n", ehc->i.serror & SERR_DATA_RECOVERED ? "RecovData " : "", ehc->i.serror & SERR_COMM_RECOVERED ? "RecovComm " : "", |