Changeset 4947
- Timestamp:
- 10/14/07 12:32:52 (1 year ago)
- Files:
-
- i2c/trunk/CHANGES (modified) (1 diff)
- i2c/trunk/kernel/i2c-dev.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
i2c/trunk/CHANGES
r4620 r4947 10 10 SVN HEAD 11 11 i2c-algo-bit: Always send a stop condition before leaving (2.6 backport) 12 i2c-dev: Reject I2C_M_RECV_LEN (2.6 backport) 12 13 13 14 i2c/trunk/kernel/i2c-dev.c
r4023 r4947 236 236 for( i=0; i<rdwr_arg.nmsgs; i++ ) 237 237 { 238 /* Limit the size of the message to a sane amount */ 239 if (rdwr_pa[i].len > 8192) { 238 /* Limit the size of the message to a sane amount; 239 * and don't let length change either. */ 240 if ((rdwr_pa[i].len > 8192) || 241 (rdwr_pa[i].flags & I2C_M_RECV_LEN)) { 240 242 res = -EINVAL; 241 243 break;
