IB/{rdmavt, qib, hfi1}: Remove gfp flags argument
authorLeon Romanovsky <leonro@mellanox.com>
Tue, 23 May 2017 11:38:14 +0000 (14:38 +0300)
committerDoug Ledford <dledford@redhat.com>
Tue, 18 Jul 2017 01:21:23 +0000 (21:21 -0400)
commit0f4d027c3b4240ecb314daa948238d459fdc3a00
tree96954ca4f854c2b41412b1a5da1a313f9494bd60
parentd83187dda9b930dc268ab05da265f3d5d7eca451
IB/{rdmavt, qib, hfi1}: Remove gfp flags argument

The caller to the driver marks GFP_NOIO allocations with help
of memalloc_noio-* calls now. This makes redundant to pass down
to the driver gfp flags, which can be GFP_KERNEL only.

The patch removes the gfp flags argument and updates all driver paths.

Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Acked-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/hfi1/qp.c
drivers/infiniband/hw/hfi1/qp.h
drivers/infiniband/hw/qib/qib_qp.c
drivers/infiniband/hw/qib/qib_verbs.h
drivers/infiniband/sw/rdmavt/qp.c
include/rdma/rdma_vt.h