summaryrefslogtreecommitdiffstats
path: root/mm/oom_kill.c
diff options
context:
space:
mode:
authorSteve Glendinning <steve.glendinning@smsc.com>2009-03-04 07:33:24 +0000
committerDavid S. Miller <davem@davemloft.net>2009-03-13 12:14:09 -0700
commit8dacd548129d03e87751f75ea83b42a8a17ee651 (patch)
tree7fcb04f42b116a303f1b446fbf201c8ebb004749 /mm/oom_kill.c
parent273ae44b9cb9443e0b5265cdc99f127ddb95c8db (diff)
downloadtalos-obmc-linux-8dacd548129d03e87751f75ea83b42a8a17ee651.tar.gz
talos-obmc-linux-8dacd548129d03e87751f75ea83b42a8a17ee651.zip
smsc911x: check for FFWD success before checking for timeout
This patch from Juha Leppanen suppresses a false warning if a fast forward operation succeeds on the very last attempt. Juha> If smsc911x_reg_read loop is executed 500 times, timeout reaches 0 Juha> and the 500th smsc911x_reg_read result in val is ignored. If Juha> testing order is changed, then val is checked first. The 500th Juha> reg_read might be GOOD, why ignore it! Signed-off-by: Steve Glendinning <steve.glendinning@smsc.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'mm/oom_kill.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud