https://github.com/torvalds/linux
Revision 646ebd4166ca00bdf682a36bd2e1c9a74d848ac6 authored by Leon Romanovsky on 08 February 2017, 15:04:09 UTC, committed by Doug Ledford on 08 February 2017, 17:28:49 UTC
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: 189aba99e700 ("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>
1 parent 647bf3d
Tip revision: 646ebd4166ca00bdf682a36bd2e1c9a74d848ac6 authored by Leon Romanovsky on 08 February 2017, 15:04:09 UTC
RDMA: Don't reference kernel private header from UAPI header
RDMA: Don't reference kernel private header from UAPI header
Tip revision: 646ebd4
File | Mode | Size |
---|---|---|
Kconfig | -rw-r--r-- | 2.7 KB |
Makefile | -rw-r--r-- | 422 bytes |
addr.c | -rw-r--r-- | 3.8 KB |
addr.h | -rw-r--r-- | 615 bytes |
atm_misc.c | -rw-r--r-- | 2.6 KB |
atm_sysfs.c | -rw-r--r-- | 4.1 KB |
br2684.c | -rw-r--r-- | 23.1 KB |
clip.c | -rw-r--r-- | 22.4 KB |
common.c | -rw-r--r-- | 21.4 KB |
common.h | -rw-r--r-- | 1.6 KB |
ioctl.c | -rw-r--r-- | 9.2 KB |
lec.c | -rw-r--r-- | 59.7 KB |
lec.h | -rw-r--r-- | 5.1 KB |
lec_arpc.h | -rw-r--r-- | 2.9 KB |
mpc.c | -rw-r--r-- | 38.2 KB |
mpc.h | -rw-r--r-- | 1.9 KB |
mpoa_caches.c | -rw-r--r-- | 14.2 KB |
mpoa_caches.h | -rw-r--r-- | 3.0 KB |
mpoa_proc.c | -rw-r--r-- | 7.2 KB |
pppoatm.c | -rw-r--r-- | 15.6 KB |
proc.c | -rw-r--r-- | 11.5 KB |
protocols.h | -rw-r--r-- | 379 bytes |
pvc.c | -rw-r--r-- | 3.7 KB |
raw.c | -rw-r--r-- | 1.8 KB |
resources.c | -rw-r--r-- | 9.9 KB |
resources.h | -rw-r--r-- | 1019 bytes |
signaling.c | -rw-r--r-- | 6.2 KB |
signaling.h | -rw-r--r-- | 838 bytes |
svc.c | -rw-r--r-- | 16.0 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...