aboutsummaryrefslogtreecommitdiffstats
path: root/net/bluetooth/hidp/sock.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/bluetooth/hidp/sock.c')
-rw-r--r--net/bluetooth/hidp/sock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bluetooth/hidp/sock.c b/net/bluetooth/hidp/sock.c
index 407fba43c1b9..93cf9e586178 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
189 189
190 uca = compat_alloc_user_space(sizeof(*uca)); 190 uca = compat_alloc_user_space(sizeof(*uca));
191 191
192 if (copy_from_user(&ca, (void *) arg, sizeof(ca))) 192 if (copy_from_user(&ca, (void __user *) arg, sizeof(ca)))
193 return -EFAULT; 193 return -EFAULT;
194 194
195 if (put_user(ca.ctrl_sock, &uca->ctrl_sock) || 195 if (put_user(ca.ctrl_sock, &uca->ctrl_sock) ||