提交 2c84b407 编写于 作者: L Linas Vepstas 提交者: Paul Mackerras

[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: NLinas Vepstas <linas@austin.ibm.com>
Signed-off-by: NPaul Mackerras <paulus@samba.org>
上级 2e6f40de
...@@ -323,7 +323,7 @@ eeh_wait_for_slot_status(struct pci_dn *pdn, int max_wait_msecs) ...@@ -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 (rets[2] == 0) return -1; /* permanently unavailable */
if (max_wait_msecs <= 0) return -1; if (max_wait_msecs <= 0) break;
mwait = rets[2]; mwait = rets[2];
if (mwait <= 0) { if (mwait <= 0) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册