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>
这个提交包含在:
@@ -1764,7 +1764,7 @@ static int tpacket_rcv(struct sk_buff *skb, struct net_device *dev,
|
||||
macoff = netoff = TPACKET_ALIGN(po->tp_hdrlen) + 16 +
|
||||
po->tp_reserve;
|
||||
} else {
|
||||
unsigned maclen = skb_network_offset(skb);
|
||||
unsigned int maclen = skb_network_offset(skb);
|
||||
netoff = TPACKET_ALIGN(po->tp_hdrlen +
|
||||
(maclen < 16 ? 16 : maclen)) +
|
||||
po->tp_reserve;
|
||||
|
在新工单中引用
屏蔽一个用户