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>

authored by

Tejun Heo and committed by
Jeff Garzik
da0e21d3 5dbfc9cb

+1 -1
+1 -1
drivers/ata/libata-eh.c
··· 2040 } 2041 2042 if (ehc->i.serror) 2043 - ata_port_printk(ap, KERN_ERR, 2044 "SError: { %s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s}\n", 2045 ehc->i.serror & SERR_DATA_RECOVERED ? "RecovData " : "", 2046 ehc->i.serror & SERR_COMM_RECOVERED ? "RecovComm " : "",
··· 2040 } 2041 2042 if (ehc->i.serror) 2043 + ata_link_printk(link, KERN_ERR, 2044 "SError: { %s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s}\n", 2045 ehc->i.serror & SERR_DATA_RECOVERED ? "RecovData " : "", 2046 ehc->i.serror & SERR_COMM_RECOVERED ? "RecovComm " : "",