aboutsummaryrefslogtreecommitdiffstats
path: root/net/bluetooth/bnep/sock.c
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2012-02-26 06:04:52 -0500
committerJohan Hedberg <johan.hedberg@intel.com>2012-02-27 05:34:39 -0500
commit816a11d5ced501d368fabe09172f3d62744e8b53 (patch)
treee4f3a0879ad41c7bc06b2e8f2b65a38502c44f4f /net/bluetooth/bnep/sock.c
parent9b27f350688c9399da10c2b888c4044c2c1bd923 (diff)
Bluetooth: Use kernel int types instead of ones from stdint.h
u8/__u8/u32/etc should be used in the kernel instead of stdint.h types. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Acked-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/bluetooth/bnep/sock.c')
-rw-r--r--net/bluetooth/bnep/sock.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/bluetooth/bnep/sock.c b/net/bluetooth/bnep/sock.c
index 17800b1d28ea..9f9c8dcd8af0 100644
--- a/net/bluetooth/bnep/sock.c
+++ b/net/bluetooth/bnep/sock.c
@@ -143,10 +143,10 @@ static int bnep_sock_compat_ioctl(struct socket *sock, unsigned int cmd, unsigne
143{ 143{
144 if (cmd == BNEPGETCONNLIST) { 144 if (cmd == BNEPGETCONNLIST) {
145 struct bnep_connlist_req cl; 145 struct bnep_connlist_req cl;
146 uint32_t uci; 146 u32 uci;
147 int err; 147 int err;
148 148
149 if (get_user(cl.cnum, (uint32_t __user *) arg) || 149 if (get_user(cl.cnum, (u32 __user *) arg) ||
150 get_user(uci, (u32 __user *) (arg + 4))) 150 get_user(uci, (u32 __user *) (arg + 4)))
151 return -EFAULT; 151 return -EFAULT;
152 152
@@ -157,7 +157,7 @@ static int bnep_sock_compat_ioctl(struct socket *sock, unsigned int cmd, unsigne
157 157
158 err = bnep_get_connlist(&cl); 158 err = bnep_get_connlist(&cl);
159 159
160 if (!err && put_user(cl.cnum, (uint32_t __user *) arg)) 160 if (!err && put_user(cl.cnum, (u32 __user *) arg))
161 err = -EFAULT; 161 err = -EFAULT;
162 162
163 return err; 163 return err;