aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_timer.c
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2010-06-03 11:33:52 +0200
committerJean Delvare <khali@linux-fr.org>2010-06-03 11:33:52 +0200
commit3a89db5f30576654bf1b0036af9b50ed5ab1b6c5 (patch)
treed603ebb2bd97c3beb5baa6132a1871e8dd939954 /net/ipv4/tcp_timer.c
parenti2c: Share the I2C device presence detection code (diff)
downloadlinux-dev-3a89db5f30576654bf1b0036af9b50ed5ab1b6c5.tar.xz
linux-dev-3a89db5f30576654bf1b0036af9b50ed5ab1b6c5.zip
i2c: Check for address validity on client registration
Do basic address validity checks when a client is being registered. We already had checks in place for devices which are being detected, but not for devices which are simply instantiated. This is a very basic check. We don't want to do strict checking here because some devices are known to infringe the I2C address constraints (e.g. IR receivers at 7-bit address 0x7a while this value is supposedly reserved for 10-bit addresses.) So we assume the caller knows what it is doing. Signed-off-by: Jean Delvare <khali@linux-fr.org> Cc: Matthieu Castet <castet.matthieu@free.fr>
Diffstat (limited to 'net/ipv4/tcp_timer.c')
0 files changed, 0 insertions, 0 deletions