summaryrefslogtreecommitdiffstats
path: root/drivers/ata
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2008-07-31 16:08:38 +0900
committerJeff Garzik <jgarzik@redhat.com>2008-08-22 02:19:44 -0400
commitda0e21d3fa2340114fe24821718a1b57123e4664 (patch)
treef0f1bde3d90cf149dd644800f63f74de61257a12 /drivers/ata
parent5dbfc9cb59d4ad75199949d7dd8a8c6d7bc518df (diff)
downloadop-kernel-dev-da0e21d3fa2340114fe24821718a1b57123e4664.zip
op-kernel-dev-da0e21d3fa2340114fe24821718a1b57123e4664.tar.gz
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/libata-eh.c b/drivers/ata/libata-eh.c
index d4dad47..c1db2f2 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 " : "",
OpenPOWER on IntegriCloud