diff options
author | Dmitry V. Levin <ldv@altlinux.org> | 2017-11-13 03:37:06 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-11-15 13:50:13 +0900 |
commit | 0eef304bc9f7d079a1165e8cd2f24b078e9e1f2a (patch) | |
tree | c1b41f1ed2891c050d21f3f8cc32ba719e20f8da /drivers/vhost/vringh.c | |
parent | 4497478c60c04d2bf37082e27fc98f4f835db96b (diff) | |
download | linux-0eef304bc9f7d079a1165e8cd2f24b078e9e1f2a.tar.gz linux-0eef304bc9f7d079a1165e8cd2f24b078e9e1f2a.tar.bz2 linux-0eef304bc9f7d079a1165e8cd2f24b078e9e1f2a.zip |
uapi: fix linux/rxrpc.h userspace compilation errors
Consistently use types provided by <linux/types.h> to fix the following
linux/rxrpc.h userspace compilation errors:
/usr/include/linux/rxrpc.h:24:2: error: unknown type name 'u16'
u16 srx_service; /* service desired */
/usr/include/linux/rxrpc.h:25:2: error: unknown type name 'u16'
u16 transport_type; /* type of transport socket (SOCK_DGRAM) */
/usr/include/linux/rxrpc.h:26:2: error: unknown type name 'u16'
u16 transport_len; /* length of transport address */
Use __kernel_sa_family_t instead of sa_family_t the same way
as uapi/linux/in.h does, to fix the following
linux/rxrpc.h userspace compilation errors:
/usr/include/linux/rxrpc.h:23:2: error: unknown type name 'sa_family_t'
sa_family_t srx_family; /* address family */
/usr/include/linux/rxrpc.h:28:3: error: unknown type name 'sa_family_t'
sa_family_t family; /* transport address family */
Fixes: 727f8914477e ("rxrpc: Expose UAPI definitions to userspace")
Cc: <stable@vger.kernel.org> # v4.14
Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/vhost/vringh.c')
0 files changed, 0 insertions, 0 deletions