RDMA/nes: Fix off-by-one bugs in reset_adapter_ne020() and init_serdes()
authorRoel Kluin <roel.kluin@gmail.com>
Fri, 15 May 2009 17:16:45 +0000 (10:16 -0700)
committerRoland Dreier <rolandd@cisco.com>
Fri, 15 May 2009 17:16:45 +0000 (10:16 -0700)
With a postfix increment, i is incremented one past 10K/5K before the
loop ends, so the error messages will be displayed too soon if the
test succeeds on the last iteration.  Fix the comparisons to be >
instead of >=.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>

No differences found