diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2007-02-09 16:38:00 +0000 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-09 09:14:06 -0800 |
commit | 55e747445beec8df1133bb8681c884500546775c (patch) | |
tree | 3a6913e808887a19501d32663a941011a14f18ad /net/bluetooth/hidp/sock.c | |
parent | d76fdf754a4b61741d78c545489145919affea4d (diff) | |
download | kernel-crypto-55e747445beec8df1133bb8681c884500546775c.tar.gz kernel-crypto-55e747445beec8df1133bb8681c884500546775c.tar.xz kernel-crypto-55e747445beec8df1133bb8681c884500546775c.zip |
[PATCH] hidp __user annotations
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'net/bluetooth/hidp/sock.c')
-rw-r--r-- | net/bluetooth/hidp/sock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bluetooth/hidp/sock.c b/net/bluetooth/hidp/sock.c index 407fba43c1b..93cf9e58617 100644 --- a/net/bluetooth/hidp/sock.c +++ b/net/bluetooth/hidp/sock.c @@ -189,7 +189,7 @@ static int hidp_sock_compat_ioctl(struct socket *sock, unsigned int cmd, unsigne uca = compat_alloc_user_space(sizeof(*uca)); - if (copy_from_user(&ca, (void *) arg, sizeof(ca))) + if (copy_from_user(&ca, (void __user *) arg, sizeof(ca))) return -EFAULT; if (put_user(ca.ctrl_sock, &uca->ctrl_sock) || |