Whamcloud - gitweb
LU-12276 lnet: check const parameters for ib_post_send and ib_post_recv 40/34840/2
authorJian Yu <yujian@whamcloud.com>
Thu, 9 May 2019 20:53:16 +0000 (13:53 -0700)
committerOleg Drokin <green@whamcloud.com>
Fri, 10 May 2019 21:03:36 +0000 (21:03 +0000)
commit672e85cfb90746349a544264d648612a1a7c8e49
tree10d9674afe01396b296a0f274638717f78aa8620
parentf5e0c311ae60709070514b951f7d25d537d3dc91
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/34840
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