aboutsummaryrefslogtreecommitdiffstats
path: root/net/802
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/802
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/802')
-rw-r--r--net/802/fc.c2
-rw-r--r--net/802/fddi.c2
-rw-r--r--net/802/hippi.c2
-rw-r--r--net/802/tr.c4
4 files changed, 5 insertions, 5 deletions
diff --git a/net/802/fc.c b/net/802/fc.c
index b324e31401a9..05eea6b98bb8 100644
--- a/net/802/fc.c
+++ b/net/802/fc.c
@@ -35,7 +35,7 @@
35 35
36static int fc_header(struct sk_buff *skb, struct net_device *dev, 36static int fc_header(struct sk_buff *skb, struct net_device *dev,
37 unsigned short type, 37 unsigned short type,
38 const void *daddr, const void *saddr, unsigned len) 38 const void *daddr, const void *saddr, unsigned int len)
39{ 39{
40 struct fch_hdr *fch; 40 struct fch_hdr *fch;
41 int hdr_len; 41 int hdr_len;
diff --git a/net/802/fddi.c b/net/802/fddi.c
index 5ab25cd4314b..9cda40661e0d 100644
--- a/net/802/fddi.c
+++ b/net/802/fddi.c
@@ -51,7 +51,7 @@
51 51
52static int fddi_header(struct sk_buff *skb, struct net_device *dev, 52static int fddi_header(struct sk_buff *skb, struct net_device *dev,
53 unsigned short type, 53 unsigned short type,
54 const void *daddr, const void *saddr, unsigned len) 54 const void *daddr, const void *saddr, unsigned int len)
55{ 55{
56 int hl = FDDI_K_SNAP_HLEN; 56 int hl = FDDI_K_SNAP_HLEN;
57 struct fddihdr *fddi; 57 struct fddihdr *fddi;
diff --git a/net/802/hippi.c b/net/802/hippi.c
index 056794e66375..51a1f530417d 100644
--- a/net/802/hippi.c
+++ b/net/802/hippi.c
@@ -45,7 +45,7 @@
45 45
46static int hippi_header(struct sk_buff *skb, struct net_device *dev, 46static int hippi_header(struct sk_buff *skb, struct net_device *dev,
47 unsigned short type, 47 unsigned short type,
48 const void *daddr, const void *saddr, unsigned len) 48 const void *daddr, const void *saddr, unsigned int len)
49{ 49{
50 struct hippi_hdr *hip = (struct hippi_hdr *)skb_push(skb, HIPPI_HLEN); 50 struct hippi_hdr *hip = (struct hippi_hdr *)skb_push(skb, HIPPI_HLEN);
51 struct hippi_cb *hcb = (struct hippi_cb *) skb->cb; 51 struct hippi_cb *hcb = (struct hippi_cb *) skb->cb;
diff --git a/net/802/tr.c b/net/802/tr.c
index b9a3a145e348..e65f0b8de0c4 100644
--- a/net/802/tr.c
+++ b/net/802/tr.c
@@ -101,7 +101,7 @@ static inline unsigned long rif_hash(const unsigned char *addr)
101 101
102static int tr_header(struct sk_buff *skb, struct net_device *dev, 102static int tr_header(struct sk_buff *skb, struct net_device *dev,
103 unsigned short type, 103 unsigned short type,
104 const void *daddr, const void *saddr, unsigned len) 104 const void *daddr, const void *saddr, unsigned int len)
105{ 105{
106 struct trh_hdr *trh; 106 struct trh_hdr *trh;
107 int hdr_len; 107 int hdr_len;
@@ -193,7 +193,7 @@ __be16 tr_type_trans(struct sk_buff *skb, struct net_device *dev)
193 193
194 struct trh_hdr *trh; 194 struct trh_hdr *trh;
195 struct trllc *trllc; 195 struct trllc *trllc;
196 unsigned riflen=0; 196 unsigned int riflen=0;
197 197
198 skb->dev = dev; 198 skb->dev = dev;
199 skb_reset_mac_header(skb); 199 skb_reset_mac_header(skb);