diff options
| author | Eric Dumazet <[email protected]> | 2012-12-02 07:33:10 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2012-12-02 20:23:01 -0500 |
| commit | 077b393d05915f04e2629bfc47c6fce95cae7d3f (patch) | |
| tree | 5eac1986bc8d1d8dd4cef0b0c07909773ecc3ebf /tools/perf/scripts/python | |
| parent | 049b467d7a57e7b978ce063ee3639670f383fb5c (diff) | |
net: fix sparse endianness warnings on sock_common
# make C=2 CF=-D__CHECK_ENDIAN__ net/ipv4/inet_hashtables.o
...
net/ipv4/inet_hashtables.c:242:7: warning: restricted __portpair degrades to integer
net/ipv4/inet_hashtables.c:242:7: warning: restricted __addrpair degrades to integer
...
Move __portpair/__addrpair from include/net/inet_hashtables.h
to include/net/sock.h where we need them in struct sock_common
Reported-by: Fengguang Wu <[email protected]>
Signed-off-by: Eric Dumazet <[email protected]>
Cc: Ling Ma <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions