From 57f2563085e1ad3fc114856254f87f1bdd4e24b5 Mon Sep 17 00:00:00 2001 From: Mukesh Kacker Date: Fri, 8 May 2015 19:47:56 -0700 Subject: [PATCH] rds: directly include header for vmalloc/vfree in ib_recv.c MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Directly include in file ib_recv.c Without that we can get failure on non-x86 platforms where it may not get included indirectly. Without that we get the failure CC [M] net/rds/ib_recv.o net/rds/ib_recv.c: In function ‘rds_ib_srq_init’: net/rds/ib_recv.c:1530: error: implicit declaration of function ‘vmalloc’ net/rds/ib_recv.c:1531: warning: assignment makes pointer from integer without \ a cast net/rds/ib_recv.c: In function ‘rds_ib_srq_exit’: net/rds/ib_recv.c:1590: error: implicit declaration of function ‘vfree’ make[2]: *** [net/rds/ib_recv.o] Error 1 make[1]: *** [net/rds] Error 2 make: *** [net] Error 2 Orabug: 21059667 Signed-off-by: Mukesh Kacker Reviewed-by: Yuval Shaia --- net/rds/ib_recv.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/rds/ib_recv.c b/net/rds/ib_recv.c index 1bd9cfcbddb3..695bec7277c5 100644 --- a/net/rds/ib_recv.c +++ b/net/rds/ib_recv.c @@ -31,6 +31,7 @@ * */ #include +#include #include #include #include -- 2.50.1