Eric Dumazet 077b393d05 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 <fengguang.wu@intel.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Ling Ma <ling.ma.program@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-12-02 20:23:01 -05:00
..
2012-06-12 15:50:24 -07:00
2012-11-19 23:56:59 +01:00
2012-08-09 16:18:06 -07:00
2012-04-15 12:44:40 -04:00
2012-04-15 12:44:40 -04:00
2012-04-15 12:44:40 -04:00
2012-07-19 10:43:03 -07:00
2012-10-08 17:42:36 -04:00
2011-03-31 11:26:23 -03:00
2012-10-01 17:01:46 -04:00
2012-04-15 12:44:40 -04:00
2012-08-14 14:28:32 -07:00
2012-10-04 13:58:26 -04:00
2011-03-31 11:26:23 -03:00
2012-05-17 18:45:20 -04:00
2012-08-09 16:18:06 -07:00
2012-08-07 16:24:55 -07:00
2011-05-17 14:16:58 -04:00
2012-05-19 01:08:16 -04:00
2012-11-03 14:59:04 -04:00
2012-08-06 13:40:47 -07:00
2012-04-15 12:44:40 -04:00
2012-05-16 15:17:08 -04:00
2012-04-15 12:44:40 -04:00