mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00:00
646ebd4166
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:
|
||
---|---|---|
.. | ||
hfi | ||
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 | ||
Kbuild | ||
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 |