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/core/rtnetlink.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/core/rtnetlink.c')
-rw-r--r-- | net/core/rtnetlink.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/core/rtnetlink.c b/net/core/rtnetlink.c index 4a0d8cfff2a0..2ff6fe4bada4 100644 --- a/net/core/rtnetlink.c +++ b/net/core/rtnetlink.c | |||
@@ -552,7 +552,7 @@ void __rta_fill(struct sk_buff *skb, int attrtype, int attrlen, const void *data | |||
552 | } | 552 | } |
553 | EXPORT_SYMBOL(__rta_fill); | 553 | EXPORT_SYMBOL(__rta_fill); |
554 | 554 | ||
555 | int rtnetlink_send(struct sk_buff *skb, struct net *net, u32 pid, unsigned group, int echo) | 555 | int rtnetlink_send(struct sk_buff *skb, struct net *net, u32 pid, unsigned int group, int echo) |
556 | { | 556 | { |
557 | struct sock *rtnl = net->rtnl; | 557 | struct sock *rtnl = net->rtnl; |
558 | int err = 0; | 558 | int err = 0; |
@@ -1953,7 +1953,7 @@ static int rtnl_dump_all(struct sk_buff *skb, struct netlink_callback *cb) | |||
1953 | return skb->len; | 1953 | return skb->len; |
1954 | } | 1954 | } |
1955 | 1955 | ||
1956 | void rtmsg_ifinfo(int type, struct net_device *dev, unsigned change) | 1956 | void rtmsg_ifinfo(int type, struct net_device *dev, unsigned int change) |
1957 | { | 1957 | { |
1958 | struct net *net = dev_net(dev); | 1958 | struct net *net = dev_net(dev); |
1959 | struct sk_buff *skb; | 1959 | struct sk_buff *skb; |
@@ -2048,7 +2048,7 @@ static int rtnetlink_rcv_msg(struct sk_buff *skb, struct nlmsghdr *nlh) | |||
2048 | struct rtattr *attr = (void *)nlh + NLMSG_ALIGN(min_len); | 2048 | struct rtattr *attr = (void *)nlh + NLMSG_ALIGN(min_len); |
2049 | 2049 | ||
2050 | while (RTA_OK(attr, attrlen)) { | 2050 | while (RTA_OK(attr, attrlen)) { |
2051 | unsigned flavor = attr->rta_type; | 2051 | unsigned int flavor = attr->rta_type; |
2052 | if (flavor) { | 2052 | if (flavor) { |
2053 | if (flavor > rta_max[sz_idx]) | 2053 | if (flavor > rta_max[sz_idx]) |
2054 | return -EINVAL; | 2054 | return -EINVAL; |