From: Eric Dumazet Date: Sun, 2 Dec 2012 07:33:10 +0000 (+0000) Subject: net: fix sparse endianness warnings on sock_common X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~45^2~121 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=077b393d05915f04e2629bfc47c6fce95cae7d3f;p=pandora-kernel.git 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 Signed-off-by: Eric Dumazet Cc: Ling Ma Signed-off-by: David S. Miller --- Reading git-diff-tree failed