[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20121202.202351.2009817552547300312.davem@davemloft.net>
Date: Sun, 02 Dec 2012 20:23:51 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: netdev@...r.kernel.org, fengguang.wu@...el.com,
ling.ma.program@...il.com
Subject: Re: [PATCH net-next] net: fix sparse endianness warnings on
sock_common
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Sun, 02 Dec 2012 09:33:10 -0800
> From: Eric Dumazet <edumazet@...gle.com>
>
> # 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@...el.com>
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists