aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinas Vepstas <linas@austin.ibm.com>2007-07-26 18:30:26 -0400
committerPaul Mackerras <paulus@samba.org>2007-08-16 21:01:50 -0400
commit12588da7cb57edc25355c8ae2a245f66d0d067d1 (patch)
treece896751caf722cadc3d268402e6a031c72ee9f9
parent301d9cb80b4f64ba24d4b141ad3ca58165a29afb (diff)
[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>
-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)
750 return 0; 750 return 0;
751 751
752 if (rc < 0) { 752 if (rc < 0) {
753 printk (KERN_ERR "EEH: unrecoverable slot failure %s\n", 753 printk(KERN_ERR "EEH: unrecoverable slot failure %s\n",
754 pdn->node->full_name); 754 pdn->node->full_name);
755 return -1; 755 return -1;
756 } 756 }
757 printk (KERN_ERR "EEH: bus reset %d failed on slot %s\n", 757 printk(KERN_ERR "EEH: bus reset %d failed on slot %s, rc=%d\n",
758 i+1, pdn->node->full_name); 758 i+1, pdn->node->full_name, rc);
759 } 759 }
760 760
761 return -1; 761 return -1;