aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Gunthorpe <[email protected]>2020-02-26 14:17:24 +0000
committerJason Gunthorpe <[email protected]>2020-02-26 17:24:41 +0000
commit65a166201552113f9e1e8d1bb4a55a1eb70cb19c (patch)
tree830518773c4e9f8ca452e9d3f39d9fcbaaa725e7
parentRDMA/bnxt_re: use ibdev based message printing functions (diff)
downloadkernel-65a166201552113f9e1e8d1bb4a55a1eb70cb19c.tar.gz
kernel-65a166201552113f9e1e8d1bb4a55a1eb70cb19c.zip
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 <[email protected]> Reviewed-by: Devesh Sharma <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
-rw-r--r--drivers/infiniband/hw/bnxt_re/qplib_res.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/bnxt_re/qplib_res.c b/drivers/infiniband/hw/bnxt_re/qplib_res.c
index 4346b95963cf..fc5909c7f2e0 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"