projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
crypto: rockchip - add DT bindings documentation
[deliverable/linux.git]
/
fs
/
compat_ioctl.c
diff --git
a/fs/compat_ioctl.c
b/fs/compat_ioctl.c
index 48851f6ea6ecc9af8c54b9e664909c878dc26bb7..dcf26537c935f25ed10a534a13e31492802c5369 100644
(file)
--- a/
fs/compat_ioctl.c
+++ b/
fs/compat_ioctl.c
@@
-686,7
+686,7
@@
static int do_i2c_rdwr_ioctl(unsigned int fd, unsigned int cmd,
if (get_user(nmsgs, &udata->nmsgs))
return -EFAULT;
- if (nmsgs > I2C_RD
RW
_IOCTL_MAX_MSGS)
+ if (nmsgs > I2C_RD
WR
_IOCTL_MAX_MSGS)
return -EINVAL;
if (get_user(datap, &udata->msgs))
This page took
0.02569 seconds
and
5
git commands to generate.