From: Roel Kluin Date: Fri, 15 May 2009 17:16:45 +0000 (-0700) Subject: RDMA/nes: Fix off-by-one bugs in reset_adapter_ne020() and init_serdes() X-Git-Tag: v2.6.31-rc1~336^2^6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=28e43a519b9edb8277fc6b490ad17aa38c45a02b;p=pandora-kernel.git RDMA/nes: Fix off-by-one bugs in reset_adapter_ne020() and init_serdes() 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 Signed-off-by: Roland Dreier --- Reading git-diff-tree failed