diff options
| author | Eric Dumazet <[email protected]> | 2012-04-15 05:58:06 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2012-04-15 16:44:40 +0000 |
| commit | 95c961747284a6b83a5e2d81240e214b0fa3464d (patch) | |
| tree | c7be86a00db3605a48a03109fafcbe31039ca2e0 /net/openvswitch/vport-netdev.c | |
| parent | ipv4: fix checkpatch errors (diff) | |
| download | kernel-95c961747284a6b83a5e2d81240e214b0fa3464d.tar.gz kernel-95c961747284a6b83a5e2d81240e214b0fa3464d.zip | |
net: cleanup unsigned to unsigned int
Use of "unsigned int" is preferred to bare "unsigned" in net tree.
Signed-off-by: Eric Dumazet <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/openvswitch/vport-netdev.c')
| -rw-r--r-- | net/openvswitch/vport-netdev.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/openvswitch/vport-netdev.c b/net/openvswitch/vport-netdev.c index c1068aed03d1..5920bda4ab6b 100644 --- a/net/openvswitch/vport-netdev.c +++ b/net/openvswitch/vport-netdev.c @@ -140,9 +140,9 @@ int ovs_netdev_get_ifindex(const struct vport *vport) return netdev_vport->dev->ifindex; } -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; |
