[PATCH 2/4] powerpc: EEH: Split up long error msg
From: Linas Vepstas <hidden>
Date: 2007-05-08 23:34:43
Make some minor adjustments to the EEH error messages. Signed-off-by: Linas Vepstas <redacted> ---- arch/powerpc/platforms/pseries/eeh_driver.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) Index: linux-2.6.21-rc7-mm2/arch/powerpc/platforms/pseries/eeh_driver.c ===================================================================
--- linux-2.6.21-rc7-mm2.orig/arch/powerpc/platforms/pseries/eeh_driver.c 2007-04-26 16:19:02.000000000 -0500
+++ linux-2.6.21-rc7-mm2/arch/powerpc/platforms/pseries/eeh_driver.c 2007-04-26 16:19:23.000000000 -0500@@ -362,9 +362,11 @@ struct pci_dn * handle_eeh_events (struc } printk(KERN_WARNING - "EEH: This PCI device has failed %d times since last reboot: " - "location=%s driver=%s pci addr=%s\n", - frozen_pdn->eeh_freeze_count, location, drv_str, pci_str); + "EEH: This PCI device has failed %d times in the last hour:\n", + frozen_pdn->eeh_freeze_count); + printk(KERN_WARNING + "EEH: location=%s driver=%s pci addr=%s\n", + location, drv_str, pci_str); /* Walk the various device drivers attached to this slot through * a reset sequence, giving each an opportunity to do what it needs