mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
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]>
This commit is contained in:
parent
5e73ea1a31
commit
95c9617472
167 changed files with 461 additions and 455 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue