diff options
-rw-r--r-- | drivers/i2c/i2c-dev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/i2c-dev.c b/drivers/i2c/i2c-dev.c index cb217c454835..bc5d557e5dd9 100644 --- a/drivers/i2c/i2c-dev.c +++ b/drivers/i2c/i2c-dev.c | |||
@@ -213,7 +213,7 @@ static int i2cdev_ioctl(struct inode *inode, struct file *file, | |||
213 | sizeof(rdwr_arg))) | 213 | sizeof(rdwr_arg))) |
214 | return -EFAULT; | 214 | return -EFAULT; |
215 | 215 | ||
216 | /* Put an arbritrary limit on the number of messages that can | 216 | /* Put an arbitrary limit on the number of messages that can |
217 | * be sent at once */ | 217 | * be sent at once */ |
218 | if (rdwr_arg.nmsgs > I2C_RDRW_IOCTL_MAX_MSGS) | 218 | if (rdwr_arg.nmsgs > I2C_RDRW_IOCTL_MAX_MSGS) |
219 | return -EINVAL; | 219 | return -EINVAL; |