diff options
author | Eric Dumazet <edumazet@google.com> | 2015-02-04 15:12:04 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-02-05 00:43:14 -0800 |
commit | a409caecb2e17fc475533738dd1c69b32e13fe09 (patch) | |
tree | 7009537810dd0bccb716a95ef39fa847f9a271d9 /drivers/vhost | |
parent | 677651462c774b5866be2bc42601303a76b021a0 (diff) | |
download | op-kernel-dev-a409caecb2e17fc475533738dd1c69b32e13fe09.zip op-kernel-dev-a409caecb2e17fc475533738dd1c69b32e13fe09.tar.gz |
sit: fix some __be16/u16 mismatches
Fixes following sparse warnings :
net/ipv6/sit.c:1509:32: warning: incorrect type in assignment (different base types)
net/ipv6/sit.c:1509:32: expected restricted __be16 [usertype] sport
net/ipv6/sit.c:1509:32: got unsigned short
net/ipv6/sit.c:1514:32: warning: incorrect type in assignment (different base types)
net/ipv6/sit.c:1514:32: expected restricted __be16 [usertype] dport
net/ipv6/sit.c:1514:32: got unsigned short
net/ipv6/sit.c:1711:38: warning: incorrect type in argument 3 (different base types)
net/ipv6/sit.c:1711:38: expected unsigned short [unsigned] [usertype] value
net/ipv6/sit.c:1711:38: got restricted __be16 [usertype] sport
net/ipv6/sit.c:1713:38: warning: incorrect type in argument 3 (different base types)
net/ipv6/sit.c:1713:38: expected unsigned short [unsigned] [usertype] value
net/ipv6/sit.c:1713:38: got restricted __be16 [usertype] dport
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/vhost')
0 files changed, 0 insertions, 0 deletions