summaryrefslogtreecommitdiffstats
path: root/drivers/i2c/busses/i2c-iop3xx.c
diff options
context:
space:
mode:
authorDavid Brownell <david-b@pacbell.net>2007-10-13 23:56:31 +0200
committerJean Delvare <khali@hyperion.delvare>2007-10-13 23:56:31 +0200
commite265cfa19c1220938de5f0291ed8d549a523de3c (patch)
treead50706c7cbf75a9302b6e244b22d93babb415c1 /drivers/i2c/busses/i2c-iop3xx.c
parent9d90c1fd9bdbffb456d1b1ef05215343503fd0b0 (diff)
downloadblackbird-op-linux-e265cfa19c1220938de5f0291ed8d549a523de3c.tar.gz
blackbird-op-linux-e265cfa19c1220938de5f0291ed8d549a523de3c.zip
i2c-dev: Reject I2C_M_RECV_LEN
The I2C_M_RECV_LEN calling convention for i2c_mesg.flags involves playing games with reported buffer lengths. (They start out less than their actual size, and the length is then modified to reflect how many bytes were delivered ... which one hopes is less than the presumed actual size.) Refuse to play such error prone games across the boundary between userspace and kernel. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'drivers/i2c/busses/i2c-iop3xx.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud