diff options
author | Tejun Heo <tj@kernel.org> | 2008-07-31 16:08:38 +0900 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-08-22 02:19:44 -0400 |
commit | da0e21d3fa2340114fe24821718a1b57123e4664 (patch) | |
tree | f0f1bde3d90cf149dd644800f63f74de61257a12 /drivers/ata | |
parent | 5dbfc9cb59d4ad75199949d7dd8a8c6d7bc518df (diff) | |
download | kernel_samsung_smdk4412-da0e21d3fa2340114fe24821718a1b57123e4664.zip kernel_samsung_smdk4412-da0e21d3fa2340114fe24821718a1b57123e4664.tar.gz kernel_samsung_smdk4412-da0e21d3fa2340114fe24821718a1b57123e4664.tar.bz2 |
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 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 " : "", |