aboutsummaryrefslogtreecommitdiffstats
path: root/net/bluetooth/cmtp
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/cmtp
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/cmtp')
-rw-r--r--net/bluetooth/cmtp/sock.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/bluetooth/cmtp/sock.c b/net/bluetooth/cmtp/sock.c
index 3f2dd5c25ae5..1230faaac29b 100644
--- a/net/bluetooth/cmtp/sock.c
+++ b/net/bluetooth/cmtp/sock.c
@@ -137,10 +137,10 @@ static int cmtp_sock_compat_ioctl(struct socket *sock, unsigned int cmd, unsigne
137{ 137{
138 if (cmd == CMTPGETCONNLIST) { 138 if (cmd == CMTPGETCONNLIST) {
139 struct cmtp_connlist_req cl; 139 struct cmtp_connlist_req cl;
140 uint32_t uci; 140 u32 uci;
141 int err; 141 int err;
142 142
143 if (get_user(cl.cnum, (uint32_t __user *) arg) || 143 if (get_user(cl.cnum, (u32 __user *) arg) ||
144 get_user(uci, (u32 __user *) (arg + 4))) 144 get_user(uci, (u32 __user *) (arg + 4)))
145 return -EFAULT; 145 return -EFAULT;
146 146
@@ -151,7 +151,7 @@ static int cmtp_sock_compat_ioctl(struct socket *sock, unsigned int cmd, unsigne
151 151
152 err = cmtp_get_connlist(&cl); 152 err = cmtp_get_connlist(&cl);
153 153
154 if (!err && put_user(cl.cnum, (uint32_t __user *) arg)) 154 if (!err && put_user(cl.cnum, (u32 __user *) arg))
155 err = -EFAULT; 155 err = -EFAULT;
156 156
157 return err; 157 return err;