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/ipv6/route.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/ipv6/route.c')
-rw-r--r-- | net/ipv6/route.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/net/ipv6/route.c b/net/ipv6/route.c index 8c5df6f3a2de..f910cce69c9f 100644 --- a/net/ipv6/route.c +++ b/net/ipv6/route.c | |||
@@ -82,7 +82,7 @@ static void ip6_rt_update_pmtu(struct dst_entry *dst, u32 mtu); | |||
82 | static struct rt6_info *rt6_add_route_info(struct net *net, | 82 | static struct rt6_info *rt6_add_route_info(struct net *net, |
83 | const struct in6_addr *prefix, int prefixlen, | 83 | const struct in6_addr *prefix, int prefixlen, |
84 | const struct in6_addr *gwaddr, int ifindex, | 84 | const struct in6_addr *gwaddr, int ifindex, |
85 | unsigned pref); | 85 | unsigned int pref); |
86 | static struct rt6_info *rt6_get_route_info(struct net *net, | 86 | static struct rt6_info *rt6_get_route_info(struct net *net, |
87 | const struct in6_addr *prefix, int prefixlen, | 87 | const struct in6_addr *prefix, int prefixlen, |
88 | const struct in6_addr *gwaddr, int ifindex); | 88 | const struct in6_addr *gwaddr, int ifindex); |
@@ -1870,7 +1870,7 @@ out: | |||
1870 | static struct rt6_info *rt6_add_route_info(struct net *net, | 1870 | static struct rt6_info *rt6_add_route_info(struct net *net, |
1871 | const struct in6_addr *prefix, int prefixlen, | 1871 | const struct in6_addr *prefix, int prefixlen, |
1872 | const struct in6_addr *gwaddr, int ifindex, | 1872 | const struct in6_addr *gwaddr, int ifindex, |
1873 | unsigned pref) | 1873 | unsigned int pref) |
1874 | { | 1874 | { |
1875 | struct fib6_config cfg = { | 1875 | struct fib6_config cfg = { |
1876 | .fc_table = RT6_TABLE_INFO, | 1876 | .fc_table = RT6_TABLE_INFO, |
@@ -2200,10 +2200,9 @@ void rt6_ifdown(struct net *net, struct net_device *dev) | |||
2200 | icmp6_clean_all(fib6_ifdown, &adn); | 2200 | icmp6_clean_all(fib6_ifdown, &adn); |
2201 | } | 2201 | } |
2202 | 2202 | ||
2203 | struct rt6_mtu_change_arg | 2203 | struct rt6_mtu_change_arg { |
2204 | { | ||
2205 | struct net_device *dev; | 2204 | struct net_device *dev; |
2206 | unsigned mtu; | 2205 | unsigned int mtu; |
2207 | }; | 2206 | }; |
2208 | 2207 | ||
2209 | static int rt6_mtu_change_route(struct rt6_info *rt, void *p_arg) | 2208 | static int rt6_mtu_change_route(struct rt6_info *rt, void *p_arg) |
@@ -2245,7 +2244,7 @@ static int rt6_mtu_change_route(struct rt6_info *rt, void *p_arg) | |||
2245 | return 0; | 2244 | return 0; |
2246 | } | 2245 | } |
2247 | 2246 | ||
2248 | void rt6_mtu_change(struct net_device *dev, unsigned mtu) | 2247 | void rt6_mtu_change(struct net_device *dev, unsigned int mtu) |
2249 | { | 2248 | { |
2250 | struct rt6_mtu_change_arg arg = { | 2249 | struct rt6_mtu_change_arg arg = { |
2251 | .dev = dev, | 2250 | .dev = dev, |