]> git.baikalelectronics.ru Git - kernel.git/commit
TG3: limit reaches -1
authorRoel Kluin <roel.kluin@gmail.com>
Fri, 13 Feb 2009 00:33:27 +0000 (16:33 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 13 Feb 2009 00:33:27 +0000 (16:33 -0800)
commit1615a0cbdc7999723eb9218fc226a307f86484eb
treed53da2dac6306cf7e3bc41eef708265eefe0d683
parentce742862d9a83e1622ca46af110f6fbe48dffb5c
TG3: limit reaches -1

With while (limit--) { ... } limit reaches -1, so 0 means success.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Acked-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tg3.c