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
00-INDEX -rw-r--r-- 655 bytes
leds-blinkm.txt -rw-r--r-- 1.9 KB
leds-class-flash.txt -rw-r--r-- 3.2 KB
leds-class.txt -rw-r--r-- 4.3 KB
leds-lm3556.txt -rw-r--r-- 2.9 KB
leds-lp3944.txt -rw-r--r-- 1.5 KB
leds-lp5521.txt -rw-r--r-- 2.9 KB
leds-lp5523.txt -rw-r--r-- 3.5 KB
leds-lp5562.txt -rw-r--r-- 3.3 KB
leds-lp55xx.txt -rw-r--r-- 6.7 KB
leds-mlxcpld.txt -rw-r--r-- 2.2 KB
ledtrig-oneshot.txt -rw-r--r-- 1.5 KB
ledtrig-transient.txt -rw-r--r-- 7.2 KB
ledtrig-usbport.txt -rw-r--r-- 1.3 KB
uleds.txt -rw-r--r-- 1.2 KB

back to top