diff options
author | Dmitry V. Levin <ldv@altlinux.org> | 2017-02-16 18:05:45 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-11-21 09:21:23 +0100 |
commit | 16e7973f8e47235092abad2d2632edefc64ff03f (patch) | |
tree | fee997c2a3c18c3676011b74d5ed7d2c084fe2ff /drivers/usb/core | |
parent | f5e303d54ac2d739663643f52af4972f8955734d (diff) | |
download | linux-stable-16e7973f8e47235092abad2d2632edefc64ff03f.tar.gz linux-stable-16e7973f8e47235092abad2d2632edefc64ff03f.tar.bz2 linux-stable-16e7973f8e47235092abad2d2632edefc64ff03f.zip |
uapi: fix linux/rds.h userspace compilation error
[ Upstream commit 1786dbf3702e33ce3afd2d3dbe630bd04b1d2e58 ]
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>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/core')
0 files changed, 0 insertions, 0 deletions