Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 291068
b: refs/heads/master
c: 816a11d
h: refs/heads/master
v: v3
  • Loading branch information
Johan Hedberg committed Feb 27, 2012
1 parent ff9591b commit 5280185
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 14 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: 9b27f350688c9399da10c2b888c4044c2c1bd923
refs/heads/master: 816a11d5ced501d368fabe09172f3d62744e8b53
4 changes: 2 additions & 2 deletions trunk/include/net/bluetooth/hci.h
Original file line number Diff line number Diff line change
Expand Up @@ -691,8 +691,8 @@ struct hci_cp_host_buffer_size {

#define HCI_OP_WRITE_EIR 0x0c52
struct hci_cp_write_eir {
uint8_t fec;
uint8_t data[HCI_MAX_EIR_LENGTH];
__u8 fec;
__u8 data[HCI_MAX_EIR_LENGTH];
} __packed;

#define HCI_OP_READ_SSP_MODE 0x0c55
Expand Down
6 changes: 3 additions & 3 deletions trunk/net/bluetooth/bnep/sock.c
Original file line number Diff line number Diff line change
Expand Up @@ -143,10 +143,10 @@ static int bnep_sock_compat_ioctl(struct socket *sock, unsigned int cmd, unsigne
{
if (cmd == BNEPGETCONNLIST) {
struct bnep_connlist_req cl;
uint32_t uci;
u32 uci;
int err;

if (get_user(cl.cnum, (uint32_t __user *) arg) ||
if (get_user(cl.cnum, (u32 __user *) arg) ||
get_user(uci, (u32 __user *) (arg + 4)))
return -EFAULT;

Expand All @@ -157,7 +157,7 @@ static int bnep_sock_compat_ioctl(struct socket *sock, unsigned int cmd, unsigne

err = bnep_get_connlist(&cl);

if (!err && put_user(cl.cnum, (uint32_t __user *) arg))
if (!err && put_user(cl.cnum, (u32 __user *) arg))
err = -EFAULT;

return err;
Expand Down
6 changes: 3 additions & 3 deletions trunk/net/bluetooth/cmtp/sock.c
Original file line number Diff line number Diff line change
Expand Up @@ -137,10 +137,10 @@ static int cmtp_sock_compat_ioctl(struct socket *sock, unsigned int cmd, unsigne
{
if (cmd == CMTPGETCONNLIST) {
struct cmtp_connlist_req cl;
uint32_t uci;
u32 uci;
int err;

if (get_user(cl.cnum, (uint32_t __user *) arg) ||
if (get_user(cl.cnum, (u32 __user *) arg) ||
get_user(uci, (u32 __user *) (arg + 4)))
return -EFAULT;

Expand All @@ -151,7 +151,7 @@ static int cmtp_sock_compat_ioctl(struct socket *sock, unsigned int cmd, unsigne

err = cmtp_get_connlist(&cl);

if (!err && put_user(cl.cnum, (uint32_t __user *) arg))
if (!err && put_user(cl.cnum, (u32 __user *) arg))
err = -EFAULT;

return err;
Expand Down
6 changes: 3 additions & 3 deletions trunk/net/bluetooth/hidp/sock.c
Original file line number Diff line number Diff line change
Expand Up @@ -160,10 +160,10 @@ static int hidp_sock_compat_ioctl(struct socket *sock, unsigned int cmd, unsigne
{
if (cmd == HIDPGETCONNLIST) {
struct hidp_connlist_req cl;
uint32_t uci;
u32 uci;
int err;

if (get_user(cl.cnum, (uint32_t __user *) arg) ||
if (get_user(cl.cnum, (u32 __user *) arg) ||
get_user(uci, (u32 __user *) (arg + 4)))
return -EFAULT;

Expand All @@ -174,7 +174,7 @@ static int hidp_sock_compat_ioctl(struct socket *sock, unsigned int cmd, unsigne

err = hidp_get_connlist(&cl);

if (!err && put_user(cl.cnum, (uint32_t __user *) arg))
if (!err && put_user(cl.cnum, (u32 __user *) arg))
err = -EFAULT;

return err;
Expand Down
4 changes: 2 additions & 2 deletions trunk/net/bluetooth/mgmt.c
Original file line number Diff line number Diff line change
Expand Up @@ -1075,7 +1075,7 @@ static int set_link_security(struct sock *sk, u16 index, void *data, u16 len)
struct mgmt_mode *cp = data;
struct pending_cmd *cmd;
struct hci_dev *hdev;
uint8_t val;
u8 val;
int err;

BT_DBG("request for hci%u", index);
Expand Down Expand Up @@ -1147,7 +1147,7 @@ static int set_ssp(struct sock *sk, u16 index, void *data, u16 len)
struct mgmt_mode *cp = data;
struct pending_cmd *cmd;
struct hci_dev *hdev;
uint8_t val;
u8 val;
int err;

BT_DBG("request for hci%u", index);
Expand Down

0 comments on commit 5280185

Please sign in to comment.