net: more timeouts that reach -1
authorRoel Kluin <roel.kluin@gmail.com>
Wed, 4 Mar 2009 08:11:42 +0000 (00:11 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 Mar 2009 08:11:42 +0000 (00:11 -0800)
commit858b9ced6e73a0f087294c398a1ae70a7eeed94f
tree81a2298b2c45d90f68b016fb0b4fa05c19a787f5
parent4222474519ff5b31a526dfa1da7aa4b0e38bef5c
net: more timeouts that reach -1

with while (timeout-- > 0); timeout reaches -1 after the loop, so the tests
below are off by one. also don't do an '< 0' test on an unsigned.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/arm/ks8695net.c
drivers/net/jme.c
drivers/net/ucc_geth_mii.c