Loading drivers/i2c/i2c-dev.c +1 −1 Original line number Diff line number Diff line Loading @@ -213,7 +213,7 @@ static int i2cdev_ioctl(struct inode *inode, struct file *file, sizeof(rdwr_arg))) return -EFAULT; /* Put an arbritrary limit on the number of messages that can /* Put an arbitrary limit on the number of messages that can * be sent at once */ if (rdwr_arg.nmsgs > I2C_RDRW_IOCTL_MAX_MSGS) return -EINVAL; Loading Loading
drivers/i2c/i2c-dev.c +1 −1 Original line number Diff line number Diff line Loading @@ -213,7 +213,7 @@ static int i2cdev_ioctl(struct inode *inode, struct file *file, sizeof(rdwr_arg))) return -EFAULT; /* Put an arbritrary limit on the number of messages that can /* Put an arbitrary limit on the number of messages that can * be sent at once */ if (rdwr_arg.nmsgs > I2C_RDRW_IOCTL_MAX_MSGS) return -EINVAL; Loading