From: Jason Gunthorpe <jgg@mellanox.com>
Date: Wed, 26 Feb 2020 14:17:24 +0000 (-0400)
Subject: RDMA/bnxt_re: Using vmalloc requires including vmalloc.h
X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=65a166201552113f9e1e8d1bb4a55a1eb70cb19c;p=linux.git

RDMA/bnxt_re: Using vmalloc requires including vmalloc.h

Add it

Fixes: 0c4dcd602817 ("RDMA/bnxt_re: Refactor hardware queue memory allocation")
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Reviewed-by: Devesh Sharma <devesh.sharma@broadcom.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
---

diff --git a/drivers/infiniband/hw/bnxt_re/qplib_res.c b/drivers/infiniband/hw/bnxt_re/qplib_res.c
index 4346b95963cfa..fc5909c7f2e04 100644
--- a/drivers/infiniband/hw/bnxt_re/qplib_res.c
+++ b/drivers/infiniband/hw/bnxt_re/qplib_res.c
@@ -44,6 +44,7 @@
 #include <linux/inetdevice.h>
 #include <linux/dma-mapping.h>
 #include <linux/if_vlan.h>
+#include <linux/vmalloc.h>
 #include "roce_hsi.h"
 #include "qplib_res.h"
 #include "qplib_sp.h"