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/ipv4/tcp.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/ipv4/tcp.c')
-rw-r--r-- | net/ipv4/tcp.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/net/ipv4/tcp.c b/net/ipv4/tcp.c index 8bb6adeb62c0..c53e8a827f55 100644 --- a/net/ipv4/tcp.c +++ b/net/ipv4/tcp.c | |||
@@ -2675,7 +2675,7 @@ struct sk_buff *tcp_tso_segment(struct sk_buff *skb, | |||
2675 | { | 2675 | { |
2676 | struct sk_buff *segs = ERR_PTR(-EINVAL); | 2676 | struct sk_buff *segs = ERR_PTR(-EINVAL); |
2677 | struct tcphdr *th; | 2677 | struct tcphdr *th; |
2678 | unsigned thlen; | 2678 | unsigned int thlen; |
2679 | unsigned int seq; | 2679 | unsigned int seq; |
2680 | __be32 delta; | 2680 | __be32 delta; |
2681 | unsigned int oldlen; | 2681 | unsigned int oldlen; |
@@ -3033,9 +3033,9 @@ int tcp_md5_hash_skb_data(struct tcp_md5sig_pool *hp, | |||
3033 | struct scatterlist sg; | 3033 | struct scatterlist sg; |
3034 | const struct tcphdr *tp = tcp_hdr(skb); | 3034 | const struct tcphdr *tp = tcp_hdr(skb); |
3035 | struct hash_desc *desc = &hp->md5_desc; | 3035 | struct hash_desc *desc = &hp->md5_desc; |
3036 | unsigned i; | 3036 | unsigned int i; |
3037 | const unsigned head_data_len = skb_headlen(skb) > header_len ? | 3037 | const unsigned int head_data_len = skb_headlen(skb) > header_len ? |
3038 | skb_headlen(skb) - header_len : 0; | 3038 | skb_headlen(skb) - header_len : 0; |
3039 | const struct skb_shared_info *shi = skb_shinfo(skb); | 3039 | const struct skb_shared_info *shi = skb_shinfo(skb); |
3040 | struct sk_buff *frag_iter; | 3040 | struct sk_buff *frag_iter; |
3041 | 3041 | ||