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
History
File Mode Size
Kconfig -rw-r--r-- 6.2 KB
Makefile -rw-r--r-- 745 bytes
alarmtimer.c -rw-r--r-- 22.1 KB
clockevents.c -rw-r--r-- 19.2 KB
clocksource.c -rw-r--r-- 28.8 KB
hrtimer.c -rw-r--r-- 46.5 KB
itimer.c -rw-r--r-- 7.5 KB
jiffies.c -rw-r--r-- 3.9 KB
ntp.c -rw-r--r-- 25.6 KB
ntp_internal.h -rw-r--r-- 536 bytes
posix-clock.c -rw-r--r-- 8.4 KB
posix-cpu-timers.c -rw-r--r-- 39.3 KB
posix-stubs.c -rw-r--r-- 3.0 KB
posix-timers.c -rw-r--r-- 30.4 KB
sched_clock.c -rw-r--r-- 8.1 KB
test_udelay.c -rw-r--r-- 4.1 KB
tick-broadcast-hrtimer.c -rw-r--r-- 3.0 KB
tick-broadcast.c -rw-r--r-- 26.4 KB
tick-common.c -rw-r--r-- 13.5 KB
tick-internal.h -rw-r--r-- 7.0 KB
tick-oneshot.c -rw-r--r-- 3.2 KB
tick-sched.c -rw-r--r-- 30.9 KB
tick-sched.h -rw-r--r-- 2.5 KB
time.c -rw-r--r-- 20.8 KB
timeconst.bc -rw-r--r-- 2.7 KB
timeconv.c -rw-r--r-- 3.5 KB
timecounter.c -rw-r--r-- 3.0 KB
timekeeping.c -rw-r--r-- 64.4 KB
timekeeping.h -rw-r--r-- 740 bytes
timekeeping_debug.c -rw-r--r-- 2.1 KB
timekeeping_internal.h -rw-r--r-- 788 bytes
timer.c -rw-r--r-- 54.6 KB
timer_list.c -rw-r--r-- 9.6 KB
timer_stats.c -rw-r--r-- 10.0 KB

back to top