Whamcloud - gitweb
LU-12276 lnet: check const parameters for ib_post_send and ib_post_recv 41/34841/2
authorJian Yu <yujian@whamcloud.com>
Thu, 9 May 2019 21:00:46 +0000 (14:00 -0700)
committerOleg Drokin <green@whamcloud.com>
Sat, 11 May 2019 19:23:36 +0000 (19:23 +0000)
commitcbaaa6a607eca46f95351067dc0eebf38da73ba6
tree2c2da86d02168d78a6fa8ac18b1e7f1c34db1ede
parent2726fb6338be8bb5d1b5867c3bbbc574333e9186
LU-12276 lnet: check const parameters for ib_post_send and ib_post_recv

In MOFED 4.6, the second and third parameters for ib_post_send() and
ib_post_recv() are declared with 'const'. This patch adds the check in
configure file to resolve build failure.

This patch is back-ported from the following one:
Lustre-commit: eb4f04e89fecbf6525f00288dbf26487f47103ba
Lustre-change: https://review.whamcloud.com/34837

Change-Id: If7193a6a4fcb7b238f5d4ee64e878a5816433e7b
Test-Parameters: trivial
Signed-off-by: Jian Yu <yujian@whamcloud.com>
Reviewed-by: Sonia Sharma <sharmaso@whamcloud.com>
Reviewed-by: Amir Shehata <ashehata@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/34841
Tested-by: Jenkins
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lnet/autoconf/lustre-lnet.m4
lnet/klnds/o2iblnd/o2iblnd_cb.c