Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=12588da7cb57edc25355c8ae2a245f66d0d067d1
Commit:     12588da7cb57edc25355c8ae2a245f66d0d067d1
Parent:     301d9cb80b4f64ba24d4b141ad3ca58165a29afb
Author:     Linas Vepstas <[EMAIL PROTECTED]>
AuthorDate: Fri Jul 27 08:30:26 2007 +1000
Committer:  Paul Mackerras <[EMAIL PROTECTED]>
CommitDate: Fri Aug 17 11:01:50 2007 +1000

    [POWERPC] EEH: Tweak printk message
    
    Print return code to print message.  Also fix whitespace.
    
    Signed-off-by: Linas Vepstas <[EMAIL PROTECTED]>
    
    ----
     arch/powerpc/platforms/pseries/eeh.c |    8 ++++----
     1 file changed, 4 insertions(+), 4 deletions(-)
    Signed-off-by: Paul Mackerras <[EMAIL PROTECTED]>
---
 arch/powerpc/platforms/pseries/eeh.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/arch/powerpc/platforms/pseries/eeh.c 
b/arch/powerpc/platforms/pseries/eeh.c
index b877039..34f8768 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;
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to