https://github.com/torvalds/linux
Revision 4ccc28f725bc2b7b0a3bc27e9c15f4eaf63fb812 authored by Roel Kluin on 05 May 2009, 06:39:24 UTC, committed by Jean Delvare on 05 May 2009, 06:39:24 UTC
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 <roel.kluin@gmail.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
1 parent b4348f3
History
Tip revision: 4ccc28f725bc2b7b0a3bc27e9c15f4eaf63fb812 authored by Roel Kluin on 05 May 2009, 06:39:24 UTC
i2c: Timeouts off by 1
Tip revision: 4ccc28f
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
usr
virt
.gitignore -rw-r--r-- 885 bytes
.mailmap -rw-r--r-- 3.9 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 91.6 KB
Kbuild -rw-r--r-- 2.4 KB
MAINTAINERS -rw-r--r-- 144.4 KB
Makefile -rw-r--r-- 53.8 KB
README -rw-r--r-- 16.7 KB
REPORTING-BUGS -rw-r--r-- 3.1 KB

README

back to top