linux/include/uapi/rdma
Leon Romanovsky 646ebd4166 RDMA: Don't reference kernel private header from UAPI header
Remove references to private kernel header and defines from exported
ib_user_verb.h file.

The code snippet below is used to reproduce the issue:

 #include <stdio.h>
 #include <rdma/ib_user_verb.h>

 int main(void)
 {
	printf("IB_USER_VERBS_ABI_VERSION = %d\n", IB_USER_VERBS_ABI_VERSION);
	return 0;
 }

It fails during compilation phase with an error:
➜  /tmp gcc main.c
main.c:2:31: fatal error: rdma/ib_user_verb.h: No such file or directory
 #include <rdma/ib_user_verb.h>
                               ^
compilation terminated.

Fixes: 189aba99e7 ("IB/uverbs: Extend modify_qp and support packet pacing")
CC: Bodong Wang <bodong@mellanox.com>
CC: Matan Barak <matanb@mellanox.com>
CC: Christoph Hellwig <hch@infradead.org>
Tested-by: Slava Shwartsman <slavash@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2017-02-08 12:28:49 -05:00
..
hfi
Kbuild
cxgb3-abi.h
cxgb4-abi.h
hns-abi.h
ib_user_cm.h
ib_user_mad.h
ib_user_sa.h
ib_user_verbs.h RDMA: Don't reference kernel private header from UAPI header 2017-02-08 12:28:49 -05:00
mlx4-abi.h
mlx5-abi.h
mthca-abi.h
nes-abi.h
ocrdma-abi.h
qedr-abi.h
rdma_netlink.h
rdma_user_cm.h
rdma_user_rxe.h
vmw_pvrdma-abi.h