From: Tejun Heo Date: Thu, 31 Jul 2008 07:08:38 +0000 (+0900) Subject: libata: use ata_link_printk() when printing SError X-Git-Tag: v2.6.27-rc5~51^2~5 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=da0e21d3fa2340114fe24821718a1b57123e4664;p=linux-2.6-omap-h63xx.git 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 Signed-off-by: Jeff Garzik --- diff --git a/drivers/ata/libata-eh.c b/drivers/ata/libata-eh.c index d4dad47b8f1..c1db2f234d2 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 " : "",