diff options
| author | Eric Dumazet <[email protected]> | 2013-06-12 21:31:39 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2013-06-12 22:03:24 +0000 |
| commit | 7c0cadc69ca2ac8893aa162ee80d92a805840909 (patch) | |
| tree | 82423a293189f5b4897a06181f5c1362abb68fee /net/unix/sysctl_net_unix.c | |
| parent | gro: remove a sparse error (diff) | |
| download | kernel-7c0cadc69ca2ac8893aa162ee80d92a805840909.tar.gz kernel-7c0cadc69ca2ac8893aa162ee80d92a805840909.zip | |
udp: fix two sparse errors
commit ba418fa357a7b3c ("soreuseport: UDP/IPv4 implementation")
added following sparse errors :
net/ipv4/udp.c:433:60: warning: cast from restricted __be16
net/ipv4/udp.c:433:60: warning: incorrect type in argument 1 (different base types)
net/ipv4/udp.c:433:60: expected unsigned short [unsigned] [usertype] val
net/ipv4/udp.c:433:60: got restricted __be16 [usertype] sport
net/ipv4/udp.c:433:60: warning: cast from restricted __be16
net/ipv4/udp.c:433:60: warning: cast from restricted __be16
net/ipv4/udp.c:514:60: warning: cast from restricted __be16
net/ipv4/udp.c:514:60: warning: incorrect type in argument 1 (different base types)
net/ipv4/udp.c:514:60: expected unsigned short [unsigned] [usertype] val
net/ipv4/udp.c:514:60: got restricted __be16 [usertype] sport
net/ipv4/udp.c:514:60: warning: cast from restricted __be16
net/ipv4/udp.c:514:60: warning: cast from restricted __be16
Signed-off-by: Eric Dumazet <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions
