lkml.org 
[lkml]   [2015]   [Mar]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 37/45] include/uapi/linux/socket.h: include sys/socket.h in userspace
    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@iki.fi>
    > > ---
    > > 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.

    -Mikko


    \
     
     \ /
      Last update: 2015-03-11 01:41    [W:6.447 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site