From: Eric Dumazet Date: Fri, 25 May 2012 18:07:35 +0000 (-0700) Subject: datapath: cleanup unsigned to unsigned int X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f1b8a92251b5dd192acd214cc693d92039203e6f;p=openvswitch datapath: cleanup unsigned to unsigned int Use of "unsigned int" is preferred to bare "unsigned" in net tree. Signed-off-by: Eric Dumazet Signed-off-by: David S. Miller Signed-off-by: Jesse Gross --- diff --git a/datapath/vport-netdev.c b/datapath/vport-netdev.c index e24e5883..6e921359 100644 --- a/datapath/vport-netdev.c +++ b/datapath/vport-netdev.c @@ -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;