diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2012-04-15 01:58:06 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-04-15 12:44:40 -0400 |
commit | 95c961747284a6b83a5e2d81240e214b0fa3464d (patch) | |
tree | c7be86a00db3605a48a03109fafcbe31039ca2e0 /net/ieee802154/dgram.c | |
parent | 5e73ea1a31c3612aa6dfe44f864ca5b7b6a4cff9 (diff) |
net: cleanup unsigned to unsigned int
Use of "unsigned int" is preferred to bare "unsigned" in net tree.
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ieee802154/dgram.c')
-rw-r--r-- | net/ieee802154/dgram.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/ieee802154/dgram.c b/net/ieee802154/dgram.c index 1b09eaabaac1..6fbb2ad7bb6d 100644 --- a/net/ieee802154/dgram.c +++ b/net/ieee802154/dgram.c | |||
@@ -44,8 +44,8 @@ struct dgram_sock { | |||
44 | struct ieee802154_addr src_addr; | 44 | struct ieee802154_addr src_addr; |
45 | struct ieee802154_addr dst_addr; | 45 | struct ieee802154_addr dst_addr; |
46 | 46 | ||
47 | unsigned bound:1; | 47 | unsigned int bound:1; |
48 | unsigned want_ack:1; | 48 | unsigned int want_ack:1; |
49 | }; | 49 | }; |
50 | 50 | ||
51 | static inline struct dgram_sock *dgram_sk(const struct sock *sk) | 51 | static inline struct dgram_sock *dgram_sk(const struct sock *sk) |
@@ -206,7 +206,7 @@ static int dgram_sendmsg(struct kiocb *iocb, struct sock *sk, | |||
206 | struct msghdr *msg, size_t size) | 206 | struct msghdr *msg, size_t size) |
207 | { | 207 | { |
208 | struct net_device *dev; | 208 | struct net_device *dev; |
209 | unsigned mtu; | 209 | unsigned int mtu; |
210 | struct sk_buff *skb; | 210 | struct sk_buff *skb; |
211 | struct dgram_sock *ro = dgram_sk(sk); | 211 | struct dgram_sock *ro = dgram_sk(sk); |
212 | int hlen, tlen; | 212 | int hlen, tlen; |