diff options
author | Roel Kluin <roel.kluin@gmail.com> | 2009-03-04 09:11:42 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-03-04 09:11:42 +0100 |
commit | 858b9ced6e73a0f087294c398a1ae70a7eeed94f (patch) | |
tree | 81a2298b2c45d90f68b016fb0b4fa05c19a787f5 /drivers/net/pcmcia/3c574_cs.c | |
parent | net: fix tokenring license (diff) | |
download | linux-858b9ced6e73a0f087294c398a1ae70a7eeed94f.tar.xz linux-858b9ced6e73a0f087294c398a1ae70a7eeed94f.zip |
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>
Diffstat (limited to 'drivers/net/pcmcia/3c574_cs.c')
0 files changed, 0 insertions, 0 deletions