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/xfrm | |
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/xfrm')
-rw-r--r-- | net/xfrm/xfrm_hash.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/net/xfrm/xfrm_hash.h b/net/xfrm/xfrm_hash.h index 7199d78b2aa1..716502ada53b 100644 --- a/net/xfrm/xfrm_hash.h +++ b/net/xfrm/xfrm_hash.h | |||
@@ -45,10 +45,10 @@ static inline unsigned int __xfrm_dst_hash(const xfrm_address_t *daddr, | |||
45 | return (h ^ (h >> 16)) & hmask; | 45 | return (h ^ (h >> 16)) & hmask; |
46 | } | 46 | } |
47 | 47 | ||
48 | static inline unsigned __xfrm_src_hash(const xfrm_address_t *daddr, | 48 | static inline unsigned int __xfrm_src_hash(const xfrm_address_t *daddr, |
49 | const xfrm_address_t *saddr, | 49 | const xfrm_address_t *saddr, |
50 | unsigned short family, | 50 | unsigned short family, |
51 | unsigned int hmask) | 51 | unsigned int hmask) |
52 | { | 52 | { |
53 | unsigned int h = family; | 53 | unsigned int h = family; |
54 | switch (family) { | 54 | switch (family) { |