From: Roel Kluin Date: Sat, 16 Jan 2010 19:43:12 +0000 (+0100) Subject: i2c: Test off by one in {piix4,vt596}_transaction() X-Git-Tag: v2.6.33-rc5~28^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b6a3195070fe1c12d0bb1099ffe997d8abf9f602;p=pandora-kernel.git i2c: Test off by one in {piix4,vt596}_transaction() With `while (timeout++ < MAX_TIMEOUT)' timeout reaches MAX_TIMEOUT + 1 after the loop. This is probably unlikely to produce a problem. Signed-off-by: Roel Kluin Signed-off-by: Jean Delvare --- Reading git-diff-tree failed