Răsfoiți Sursa

[POWERPC] EEH: Split up long error msg

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>
Linas Vepstas 18 ani în urmă
părinte
comite
b455b24cf2
1 a modificat fișierele cu 5 adăugiri și 3 ștergeri
  1. 5 3
      arch/powerpc/platforms/pseries/eeh_driver.c

+ 5 - 3
arch/powerpc/platforms/pseries/eeh_driver.c

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