[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>
This commit is contained in:
Linas Vepstas 2007-07-27 08:30:26 +10:00 коммит произвёл Paul Mackerras
Родитель 301d9cb80b
Коммит 12588da7cb
1 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -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;