datapath: cleanup unsigned to unsigned int
authorEric Dumazet <eric.dumazet@gmail.com>
Fri, 25 May 2012 18:07:35 +0000 (11:07 -0700)
committerJesse Gross <jesse@nicira.com>
Fri, 25 May 2012 18:07:35 +0000 (11:07 -0700)
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>
Signed-off-by: Jesse Gross <jesse@nicira.com>
datapath/vport-netdev.c

index e24e5883b1a39551f604ef80e4268009b651fbaa..6e921359cea443882042c3d260e79cc249ce3e70 100644 (file)
@@ -273,9 +273,9 @@ static void netdev_port_receive(struct vport *vport, struct sk_buff *skb)
        ovs_vport_receive(vport, skb);
 }
 
-static unsigned packet_length(const struct sk_buff *skb)
+static unsigned int packet_length(const struct sk_buff *skb)
 {
-       unsigned length = skb->len - ETH_HLEN;
+       unsigned int length = skb->len - ETH_HLEN;
 
        if (skb->protocol == htons(ETH_P_8021Q))
                length -= VLAN_HLEN;