net: cleanup unsigned to unsigned int
[linux-block.git] / net / ipv6 / route.c
index 8c5df6f3a2decc2f5d821c713bbfdd9f514a5011..f910cce69c9f5dd26a091780cddf6abe63bbd9ed 100644 (file)
@@ -82,7 +82,7 @@ static void           ip6_rt_update_pmtu(struct dst_entry *dst, u32 mtu);
 static struct rt6_info *rt6_add_route_info(struct net *net,
                                           const struct in6_addr *prefix, int prefixlen,
                                           const struct in6_addr *gwaddr, int ifindex,
-                                          unsigned pref);
+                                          unsigned int pref);
 static struct rt6_info *rt6_get_route_info(struct net *net,
                                           const struct in6_addr *prefix, int prefixlen,
                                           const struct in6_addr *gwaddr, int ifindex);
@@ -1870,7 +1870,7 @@ out:
 static struct rt6_info *rt6_add_route_info(struct net *net,
                                           const struct in6_addr *prefix, int prefixlen,
                                           const struct in6_addr *gwaddr, int ifindex,
-                                          unsigned pref)
+                                          unsigned int pref)
 {
        struct fib6_config cfg = {
                .fc_table       = RT6_TABLE_INFO,
@@ -2200,10 +2200,9 @@ void rt6_ifdown(struct net *net, struct net_device *dev)
        icmp6_clean_all(fib6_ifdown, &adn);
 }
 
-struct rt6_mtu_change_arg
-{
+struct rt6_mtu_change_arg {
        struct net_device *dev;
-       unsigned mtu;
+       unsigned int mtu;
 };
 
 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)
        return 0;
 }
 
-void rt6_mtu_change(struct net_device *dev, unsigned mtu)
+void rt6_mtu_change(struct net_device *dev, unsigned int mtu)
 {
        struct rt6_mtu_change_arg arg = {
                .dev = dev,