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/af_decnet.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/af_decnet.c')
-rw-r--r-- | net/decnet/af_decnet.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/decnet/af_decnet.c b/net/decnet/af_decnet.c index 4136987d94d..2ba1a2814c2 100644 --- a/net/decnet/af_decnet.c +++ b/net/decnet/af_decnet.c | |||
@@ -250,7 +250,7 @@ static void dn_unhash_sock_bh(struct sock *sk) | |||
250 | static struct hlist_head *listen_hash(struct sockaddr_dn *addr) | 250 | static struct hlist_head *listen_hash(struct sockaddr_dn *addr) |
251 | { | 251 | { |
252 | int i; | 252 | int i; |
253 | unsigned hash = addr->sdn_objnum; | 253 | unsigned int hash = addr->sdn_objnum; |
254 | 254 | ||
255 | if (hash == 0) { | 255 | if (hash == 0) { |
256 | hash = addr->sdn_objnamel; | 256 | hash = addr->sdn_objnamel; |
@@ -1844,9 +1844,9 @@ static inline int dn_queue_too_long(struct dn_scp *scp, struct sk_buff_head *que | |||
1844 | * inclusion (or not) of the two 16 bit acknowledgement fields so it doesn't | 1844 | * inclusion (or not) of the two 16 bit acknowledgement fields so it doesn't |
1845 | * make much practical difference. | 1845 | * make much practical difference. |
1846 | */ | 1846 | */ |
1847 | unsigned dn_mss_from_pmtu(struct net_device *dev, int mtu) | 1847 | unsigned int dn_mss_from_pmtu(struct net_device *dev, int mtu) |
1848 | { | 1848 | { |
1849 | unsigned mss = 230 - DN_MAX_NSP_DATA_HEADER; | 1849 | unsigned int mss = 230 - DN_MAX_NSP_DATA_HEADER; |
1850 | if (dev) { | 1850 | if (dev) { |
1851 | struct dn_dev *dn_db = rcu_dereference_raw(dev->dn_ptr); | 1851 | struct dn_dev *dn_db = rcu_dereference_raw(dev->dn_ptr); |
1852 | mtu -= LL_RESERVED_SPACE(dev); | 1852 | mtu -= LL_RESERVED_SPACE(dev); |