[POWERPC] EEH: Tweak printk message
authorLinas Vepstas <linas@austin.ibm.com>
Thu, 26 Jul 2007 22:30:26 +0000 (08:30 +1000)
committerPaul Mackerras <paulus@samba.org>
Fri, 17 Aug 2007 01:01:50 +0000 (11:01 +1000)
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>
arch/powerpc/platforms/pseries/eeh.c

index b8770395013d9bb74304e2f848b16b7da6424b51..34f87682e09219f97cd44a3161da8b38d4a1716d 100644 (file)
@@ -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;