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/bridge/br_multicast.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/bridge/br_multicast.c')
-rw-r--r-- | net/bridge/br_multicast.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/net/bridge/br_multicast.c b/net/bridge/br_multicast.c index 27ca25ed7021..020e463f2225 100644 --- a/net/bridge/br_multicast.c +++ b/net/bridge/br_multicast.c | |||
@@ -512,8 +512,8 @@ static struct net_bridge_mdb_entry *br_multicast_get_group( | |||
512 | struct net_bridge_mdb_htable *mdb; | 512 | struct net_bridge_mdb_htable *mdb; |
513 | struct net_bridge_mdb_entry *mp; | 513 | struct net_bridge_mdb_entry *mp; |
514 | struct hlist_node *p; | 514 | struct hlist_node *p; |
515 | unsigned count = 0; | 515 | unsigned int count = 0; |
516 | unsigned max; | 516 | unsigned int max; |
517 | int elasticity; | 517 | int elasticity; |
518 | int err; | 518 | int err; |
519 | 519 | ||
@@ -1281,8 +1281,8 @@ static int br_multicast_ipv4_rcv(struct net_bridge *br, | |||
1281 | struct sk_buff *skb2 = skb; | 1281 | struct sk_buff *skb2 = skb; |
1282 | const struct iphdr *iph; | 1282 | const struct iphdr *iph; |
1283 | struct igmphdr *ih; | 1283 | struct igmphdr *ih; |
1284 | unsigned len; | 1284 | unsigned int len; |
1285 | unsigned offset; | 1285 | unsigned int offset; |
1286 | int err; | 1286 | int err; |
1287 | 1287 | ||
1288 | /* We treat OOM as packet loss for now. */ | 1288 | /* We treat OOM as packet loss for now. */ |
@@ -1382,7 +1382,7 @@ static int br_multicast_ipv6_rcv(struct net_bridge *br, | |||
1382 | u8 icmp6_type; | 1382 | u8 icmp6_type; |
1383 | u8 nexthdr; | 1383 | u8 nexthdr; |
1384 | __be16 frag_off; | 1384 | __be16 frag_off; |
1385 | unsigned len; | 1385 | unsigned int len; |
1386 | int offset; | 1386 | int offset; |
1387 | int err; | 1387 | int err; |
1388 | 1388 | ||