powerpc/eeh: make sure warning message is printed.
Subsystems (2)
PATCH 1/1 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 <[email protected]>
----
arch/powerpc/platforms/pseries/eeh.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/powerpc/platforms/pseries/eeh.c +1 -1
@@ -325,7 +325,7 @@ eeh_wait_for_slot_status(struct pci_dn *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 ) {