Skip to content

Commit

Permalink
[POWERPC] EEH: Make sure warning message is printed
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Linas Vepstas authored and Paul Mackerras committed Nov 8, 2007
1 parent 2e6f40d commit 2c84b40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/powerpc/platforms/pseries/eeh.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 2c84b40

Please sign in to comment.