[POWERPC] EEH: Split up long error msg
authorLinas Vepstas <linas@austin.ibm.com>
Tue, 8 May 2007 23:34:40 +0000 (09:34 +1000)
committerPaul Mackerras <paulus@samba.org>
Wed, 9 May 2007 06:35:01 +0000 (16:35 +1000)
Make some minor adjustments to the EEH error messages.

Signed-off-by: Linas Vepstas <linas@austin.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/pseries/eeh_driver.c

index e5b7635202fdc662c4f5882164c67c0addc8be21..f07d849cfc84837e47ee560a19746387b7c424f7 100644 (file)
@@ -362,9 +362,11 @@ struct pci_dn * handle_eeh_events (struct eeh_event *event)
        }
 
        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