From: Roel Kluin Date: Tue, 5 May 2009 06:39:24 +0000 (+0200) Subject: i2c: Timeouts off by 1 X-Git-Tag: v2.6.30-rc5~38^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4ccc28f725bc2b7b0a3bc27e9c15f4eaf63fb812;p=pandora-kernel.git i2c: Timeouts off by 1 with while (timeout++ < MAX_TIMEOUT); timeout reaches MAX_TIMEOUT + 1 after the loop, so the tests below are off by one. Signed-off-by: Roel Kluin Signed-off-by: Jean Delvare --- Reading git-diff-tree failed