diff options
author | Linas Vepstas <linas@austin.ibm.com> | 2007-11-07 21:03:53 +0100 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-11-08 04:15:34 +0100 |
commit | 2c84b4076c0cbbc44ffea2ae1da2a801fb23f081 (patch) | |
tree | 0eb8f0fb1bd63631147b1faa7ff239eca67449a4 /arch/powerpc/platforms/pseries/eeh.c | |
parent | [POWERPC] Make altivec code in swsusp_32.S depend on CONFIG_ALTIVEC (diff) | |
download | linux-2c84b4076c0cbbc44ffea2ae1da2a801fb23f081.tar.xz linux-2c84b4076c0cbbc44ffea2ae1da2a801fb23f081.zip |
[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>
Diffstat (limited to 'arch/powerpc/platforms/pseries/eeh.c')
-rw-r--r-- | arch/powerpc/platforms/pseries/eeh.c | 2 |
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) if (rets[2] == 0) return -1; /* permanently unavailable */ - if (max_wait_msecs <= 0) return -1; + if (max_wait_msecs <= 0) break; mwait = rets[2]; if (mwait <= 0) { |