]> git.baikalelectronics.ru Git - kernel.git/commit
uapi: fix linux/rds.h userspace compilation error
authorDmitry V. Levin <ldv@altlinux.org>
Thu, 16 Feb 2017 15:05:45 +0000 (18:05 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sun, 19 Feb 2017 23:15:23 +0000 (18:15 -0500)
commit3f9a9213a9322eece9f30ca57b987a288e3ca4e9
tree7b9642fa08e3a42e5112166367b225a9b9959c26
parent60396cf2a61a6a6ea402480d95081ecb2ba65f1b
uapi: fix linux/rds.h userspace compilation error

On the kernel side, sockaddr_storage is #define'd to
__kernel_sockaddr_storage.  Replacing struct sockaddr_storage with
struct __kernel_sockaddr_storage defined by <linux/socket.h> fixes
the following linux/rds.h userspace compilation error:

/usr/include/linux/rds.h:226:26: error: field 'dest_addr' has incomplete type
  struct sockaddr_storage dest_addr;

Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/rds.h