Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 47251
b: refs/heads/master
c: 55e7474
h: refs/heads/master
i:
  47249: 77745de
  47247: d8b0867
v: v3
  • Loading branch information
Al Viro authored and Linus Torvalds committed Feb 9, 2007
1 parent 10d3f7a commit 9080674
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d76fdf754a4b61741d78c545489145919affea4d
refs/heads/master: 55e747445beec8df1133bb8681c884500546775c
2 changes: 1 addition & 1 deletion trunk/net/bluetooth/hidp/hidp.h
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ struct hidp_connadd_req {
int intr_sock; // Connteted interrupt socket
__u16 parser;
__u16 rd_size;
__u8 *rd_data;
__u8 __user *rd_data;
__u8 country;
__u8 subclass;
__u16 vendor;
Expand Down
2 changes: 1 addition & 1 deletion trunk/net/bluetooth/hidp/sock.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) ||
Expand Down

0 comments on commit 9080674

Please sign in to comment.