From 115011c524e8674de010ddd2dea4afb497c1884e Mon Sep 17 00:00:00 2001 From: Oleg Drokin Date: Sun, 3 Jan 2016 16:31:22 -0500 Subject: [PATCH] LU-7623 lnet: Properly declare lnet_ping() forward declaration It was missing __user attribute for the userspace pointer before. Change-Id: I21937c153294387f14e3114d7970dc879a055cbe Signed-off-by: Oleg Drokin Reviewed-on: http://review.whamcloud.com/17784 Tested-by: Jenkins Tested-by: Maloo Reviewed-by: James Simmons Reviewed-by: John L. Hammond Reviewed-by: Dmitry Eremin --- lnet/lnet/api-ni.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lnet/lnet/api-ni.c b/lnet/lnet/api-ni.c index 52a53cc..c961893 100644 --- a/lnet/lnet/api-ni.c +++ b/lnet/lnet/api-ni.c @@ -60,7 +60,7 @@ CFS_MODULE_PARM(rnet_htable_size, "i", int, 0444, "size of remote network hash table"); static int lnet_ping(lnet_process_id_t id, int timeout_ms, - lnet_process_id_t *ids, int n_ids); + lnet_process_id_t __user *ids, int n_ids); static char * lnet_get_routes(void) -- 1.8.3.1