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/decnet/dn_rules.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/decnet/dn_rules.c')
-rw-r--r-- | net/decnet/dn_rules.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/decnet/dn_rules.c b/net/decnet/dn_rules.c index 7399e3d51922..e65f2c856e06 100644 --- a/net/decnet/dn_rules.c +++ b/net/decnet/dn_rules.c | |||
@@ -177,11 +177,11 @@ static int dn_fib_rule_compare(struct fib_rule *rule, struct fib_rule_hdr *frh, | |||
177 | return 1; | 177 | return 1; |
178 | } | 178 | } |
179 | 179 | ||
180 | unsigned dnet_addr_type(__le16 addr) | 180 | unsigned int dnet_addr_type(__le16 addr) |
181 | { | 181 | { |
182 | struct flowidn fld = { .daddr = addr }; | 182 | struct flowidn fld = { .daddr = addr }; |
183 | struct dn_fib_res res; | 183 | struct dn_fib_res res; |
184 | unsigned ret = RTN_UNICAST; | 184 | unsigned int ret = RTN_UNICAST; |
185 | struct dn_fib_table *tb = dn_fib_get_table(RT_TABLE_LOCAL, 0); | 185 | struct dn_fib_table *tb = dn_fib_get_table(RT_TABLE_LOCAL, 0); |
186 | 186 | ||
187 | res.r = NULL; | 187 | res.r = NULL; |