aboutsummaryrefslogtreecommitdiffstats
path: root/net/rose
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2012-04-15 01:58:06 -0400
committerDavid S. Miller <davem@davemloft.net>2012-04-15 12:44:40 -0400
commit95c961747284a6b83a5e2d81240e214b0fa3464d (patch)
treec7be86a00db3605a48a03109fafcbe31039ca2e0 /net/rose
parent5e73ea1a31c3612aa6dfe44f864ca5b7b6a4cff9 (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/rose')
-rw-r--r--net/rose/rose_dev.c2
-rw-r--r--net/rose/rose_subr.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/net/rose/rose_dev.c b/net/rose/rose_dev.c
index 906cc05bba6..28dbdb911b8 100644
--- a/net/rose/rose_dev.c
+++ b/net/rose/rose_dev.c
@@ -37,7 +37,7 @@
37 37
38static int rose_header(struct sk_buff *skb, struct net_device *dev, 38static int rose_header(struct sk_buff *skb, struct net_device *dev,
39 unsigned short type, 39 unsigned short type,
40 const void *daddr, const void *saddr, unsigned len) 40 const void *daddr, const void *saddr, unsigned int len)
41{ 41{
42 unsigned char *buff = skb_push(skb, ROSE_MIN_LEN + 2); 42 unsigned char *buff = skb_push(skb, ROSE_MIN_LEN + 2);
43 43
diff --git a/net/rose/rose_subr.c b/net/rose/rose_subr.c
index 47f1fdb346b..7ca57741b2f 100644
--- a/net/rose/rose_subr.c
+++ b/net/rose/rose_subr.c
@@ -399,7 +399,7 @@ int rose_parse_facilities(unsigned char *p, unsigned packet_len,
399 399
400 facilities_len = *p++; 400 facilities_len = *p++;
401 401
402 if (facilities_len == 0 || (unsigned)facilities_len > packet_len) 402 if (facilities_len == 0 || (unsigned int)facilities_len > packet_len)
403 return 0; 403 return 0;
404 404
405 while (facilities_len >= 3 && *p == 0x00) { 405 while (facilities_len >= 3 && *p == 0x00) {