You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
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>
This commit is contained in:
@@ -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 " : "",
|
||||
|
||||
Reference in New Issue
Block a user