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
File | Mode | Size |
---|---|---|
Makefile | -rw-r--r-- | 427 bytes |
rcu.h | -rw-r--r-- | 4.7 KB |
rcuperf.c | -rw-r--r-- | 16.1 KB |
rcutorture.c | -rw-r--r-- | 53.9 KB |
srcu.c | -rw-r--r-- | 21.6 KB |
sync.c | -rw-r--r-- | 7.0 KB |
tiny.c | -rw-r--r-- | 6.8 KB |
tiny_plugin.h | -rw-r--r-- | 4.6 KB |
tree.c | -rw-r--r-- | 130.1 KB |
tree.h | -rw-r--r-- | 29.6 KB |
tree_exp.h | -rw-r--r-- | 21.0 KB |
tree_plugin.h | -rw-r--r-- | 87.0 KB |
tree_trace.c | -rw-r--r-- | 12.8 KB |
update.c | -rw-r--r-- | 27.6 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...