mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -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
|
|
@ -37,7 +37,7 @@
|
|||
|
||||
static int rose_header(struct sk_buff *skb, struct net_device *dev,
|
||||
unsigned short type,
|
||||
const void *daddr, const void *saddr, unsigned len)
|
||||
const void *daddr, const void *saddr, unsigned int len)
|
||||
{
|
||||
unsigned char *buff = skb_push(skb, ROSE_MIN_LEN + 2);
|
||||
|
||||
|
|
|
|||
|
|
@ -399,7 +399,7 @@ int rose_parse_facilities(unsigned char *p, unsigned packet_len,
|
|||
|
||||
facilities_len = *p++;
|
||||
|
||||
if (facilities_len == 0 || (unsigned)facilities_len > packet_len)
|
||||
if (facilities_len == 0 || (unsigned int)facilities_len > packet_len)
|
||||
return 0;
|
||||
|
||||
while (facilities_len >= 3 && *p == 0x00) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue