Re: [PATCH 37/45] include/uapi/linux/socket.h: include sys/socket.h in userspace
From: Mikko Rapeli
Date: Tue Mar 10 2015 - 20:38:24 EST
On Tue, Feb 17, 2015 at 10:14:10AM +0100, Arnd Bergmann wrote:
> On Tuesday 17 February 2015 00:05:40 Mikko Rapeli wrote:
> > This libc header has sockaddr definition for userspace.
> > Fixes compilation errors like:
> > error: field âifru_addrâ has incomplete type
> > struct sockaddr ifru_addr;
> > Signed-off-by: Mikko Rapeli <mikko.rapeli@xxxxxx>
> > ---
> > include/uapi/linux/socket.h | 4 ++++
> > 1 file changed, 4 insertions(+)
> This looks wrong: where do you see a use of ifru_addr
> in uapi/linux/socket.h?
Indeed, this one seems completely wrong. Based on the test logs the
change should have gone to linux/if.h.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/