aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinas Vepstas <linas@austin.ibm.com>2007-11-07 15:03:53 -0500
committerPaul Mackerras <paulus@samba.org>2007-11-07 22:15:34 -0500
commit2c84b4076c0cbbc44ffea2ae1da2a801fb23f081 (patch)
tree0eb8f0fb1bd63631147b1faa7ff239eca67449a4
parent2e6f40deb7dfdc40358fc9ecf07bf71ed553e5ac (diff)
[POWERPC] EEH: Make sure warning message is printed
Fix old buglet; a warning message should have been printed when a hardware reset takes too long. Signed-off-by: Linas Vepstas <linas@austin.ibm.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
-rw-r--r--arch/powerpc/platforms/pseries/eeh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/pseries/eeh.c b/arch/powerpc/platforms/pseries/eeh.c
index 00cfb53d746c..fb3d636e088b 100644
--- a/arch/powerpc/platforms/pseries/eeh.c
+++ b/arch/powerpc/platforms/pseries/eeh.c
@@ -323,7 +323,7 @@ eeh_wait_for_slot_status(struct pci_dn *pdn, int max_wait_msecs)
323 323
324 if (rets[2] == 0) return -1; /* permanently unavailable */ 324 if (rets[2] == 0) return -1; /* permanently unavailable */
325 325
326 if (max_wait_msecs <= 0) return -1; 326 if (max_wait_msecs <= 0) break;
327 327
328 mwait = rets[2]; 328 mwait = rets[2];
329 if (mwait <= 0) { 329 if (mwait <= 0) {