提交 12588da7 编写于 作者: L Linas Vepstas 提交者: Paul Mackerras

[POWERPC] EEH: Tweak printk message

Print return code to print message.  Also fix whitespace.
Signed-off-by: NLinas Vepstas <linas@austin.ibm.com>

----
 arch/powerpc/platforms/pseries/eeh.c |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
Signed-off-by: NPaul Mackerras <paulus@samba.org>
上级 301d9cb8
...@@ -750,12 +750,12 @@ int rtas_set_slot_reset(struct pci_dn *pdn) ...@@ -750,12 +750,12 @@ int rtas_set_slot_reset(struct pci_dn *pdn)
return 0; return 0;
if (rc < 0) { if (rc < 0) {
printk (KERN_ERR "EEH: unrecoverable slot failure %s\n", printk(KERN_ERR "EEH: unrecoverable slot failure %s\n",
pdn->node->full_name); pdn->node->full_name);
return -1; return -1;
} }
printk (KERN_ERR "EEH: bus reset %d failed on slot %s\n", printk(KERN_ERR "EEH: bus reset %d failed on slot %s, rc=%d\n",
i+1, pdn->node->full_name); i+1, pdn->node->full_name, rc);
} }
return -1; return -1;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册