aboutsummaryrefslogtreecommitdiffstats
path: root/net/ieee802154/dgram.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ieee802154/dgram.c')
-rw-r--r--net/ieee802154/dgram.c6
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
51static inline struct dgram_sock *dgram_sk(const struct sock *sk) 51static 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;