summaryrefslogtreecommitdiffstats
path: root/arch/powerpc
diff options
context:
space:
mode:
authorLinas Vepstas <linas@austin.ibm.com>2007-07-27 08:30:26 +1000
committerPaul Mackerras <paulus@samba.org>2007-08-17 11:01:50 +1000
commit12588da7cb57edc25355c8ae2a245f66d0d067d1 (patch)
treece896751caf722cadc3d268402e6a031c72ee9f9 /arch/powerpc
parent301d9cb80b4f64ba24d4b141ad3ca58165a29afb (diff)
downloadtalos-op-linux-12588da7cb57edc25355c8ae2a245f66d0d067d1.tar.gz
talos-op-linux-12588da7cb57edc25355c8ae2a245f66d0d067d1.zip
[POWERPC] EEH: Tweak printk message
Print return code to print message. Also fix whitespace. Signed-off-by: Linas Vepstas <linas@austin.ibm.com> ---- arch/powerpc/platforms/pseries/eeh.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc')
-rw-r--r--arch/powerpc/platforms/pseries/eeh.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/powerpc/platforms/pseries/eeh.c b/arch/powerpc/platforms/pseries/eeh.c
index b8770395013d..34f87682e092 100644
--- a/arch/powerpc/platforms/pseries/eeh.c
+++ b/arch/powerpc/platforms/pseries/eeh.c
@@ -750,12 +750,12 @@ int rtas_set_slot_reset(struct pci_dn *pdn)
return 0;
if (rc < 0) {
- printk (KERN_ERR "EEH: unrecoverable slot failure %s\n",
- pdn->node->full_name);
+ printk(KERN_ERR "EEH: unrecoverable slot failure %s\n",
+ pdn->node->full_name);
return -1;
}
- printk (KERN_ERR "EEH: bus reset %d failed on slot %s\n",
- i+1, pdn->node->full_name);
+ printk(KERN_ERR "EEH: bus reset %d failed on slot %s, rc=%d\n",
+ i+1, pdn->node->full_name, rc);
}
return -1;
OpenPOWER on IntegriCloud