From f1b8a92251b5dd192acd214cc693d92039203e6f Mon Sep 17 00:00:00 2001 From: Eric Dumazet Date: Fri, 25 May 2012 11:07:35 -0700 Subject: [PATCH] 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 --- datapath/vport-netdev.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.30.2