]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
uapi: fix rdma/mlx5-abi.h userspace compilation errors
authorDmitry V. Levin <ldv@altlinux.org>
Fri, 24 Feb 2017 00:28:13 +0000 (03:28 +0300)
committerDoug Ledford <dledford@redhat.com>
Sat, 25 Mar 2017 02:01:35 +0000 (22:01 -0400)
commit812755d69efcf7c12fded57983d456647a0bbadd
treeda374a04816a1049636f7bd5fe902fe5b9e20a24
parent0957c29f78af7d890c4ac506eda8f76bfc5a137a
uapi: fix rdma/mlx5-abi.h userspace compilation errors

Consistently use types from linux/types.h to fix the following
rdma/mlx5-abi.h userspace compilation errors:

/usr/include/rdma/mlx5-abi.h:69:25: error: 'u64' undeclared here (not in a function)
  MLX5_LIB_CAP_4K_UAR = (u64)1 << 0,
/usr/include/rdma/mlx5-abi.h:69:29: error: expected ',' or '}' before numeric constant
  MLX5_LIB_CAP_4K_UAR = (u64)1 << 0,

Include <linux/if_ether.h> to fix the following rdma/mlx5-abi.h
userspace compilation error:

/usr/include/rdma/mlx5-abi.h:286:12: error: 'ETH_ALEN' undeclared here (not in a function)
  __u8 dmac[ETH_ALEN];

Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
include/uapi/rdma/mlx5-abi.h