OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5dbfc9c
)
libata: use ata_link_printk() when printing SError
author
Tejun Heo
<tj@kernel.org>
Thu, 31 Jul 2008 07:08:38 +0000
(16:08 +0900)
committer
Jeff Garzik
<jgarzik@redhat.com>
Fri, 22 Aug 2008 06:19:44 +0000
(
02:19
-0400)
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>
drivers/ata/libata-eh.c
patch
|
blob
|
history
diff --git
a/drivers/ata/libata-eh.c
b/drivers/ata/libata-eh.c
index
d4dad47
..
c1db2f2
100644
(file)
--- 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 " : "",