powerpc: Use WARN instead of dump_stack when printing EEH error backtrace
[firefly-linux-kernel-4.4.55.git] / arch / powerpc / platforms / pseries / eeh.c
index a75e37dc41aa7d94dc762c9f9c7afb23acab1841..ecd394cf34e604b24b71138d481f570cd0d926ac 100644 (file)
@@ -489,7 +489,7 @@ int eeh_dn_check_failure(struct device_node *dn, struct pci_dev *dev)
         * a stack trace will help the device-driver authors figure
         * out what happened.  So print that out.
         */
-       dump_stack();
+       WARN(1, "EEH: failure detected\n");
        return 1;
 
 dn_unlock: