projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e6f40d
)
[POWERPC] EEH: Make sure warning message is printed
author
Linas Vepstas
<linas@austin.ibm.com>
Wed, 7 Nov 2007 20:03:53 +0000
(07:03 +1100)
committer
Paul Mackerras
<paulus@samba.org>
Thu, 8 Nov 2007 03:15:34 +0000
(14:15 +1100)
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>
arch/powerpc/platforms/pseries/eeh.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/powerpc/platforms/pseries/eeh.c
b/arch/powerpc/platforms/pseries/eeh.c
index 00cfb53d746c4b520f65cef28dbf85f0541b83e5..fb3d636e088be7eaf049d5af89dcf8e72add7cee 100644
(file)
--- 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) {