RDMA/bnxt_re: Using vmalloc requires including vmalloc.h
authorJason Gunthorpe <jgg@mellanox.com>
Wed, 26 Feb 2020 14:17:24 +0000 (10:17 -0400)
committerJason Gunthorpe <jgg@mellanox.com>
Wed, 26 Feb 2020 17:24:41 +0000 (13:24 -0400)
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>
drivers/infiniband/hw/bnxt_re/qplib_res.c

index 4346b95..fc5909c 100644 (file)
@@ -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"