RDMA/iw_cxgb4: Drop __GFP_NOFAIL
authorJason Gunthorpe <jgg@mellanox.com>
Sun, 20 Jan 2019 01:27:13 +0000 (02:27 +0100)
committerJason Gunthorpe <jgg@mellanox.com>
Thu, 24 Jan 2019 16:22:30 +0000 (09:22 -0700)
commit8ba0ddd09406e35782259f2ac18187ec77d8c093
tree2063929d63b49c7dc943cfa8c475d5951a01f3d7
parent0a353c2e9435ecea39f8ffbe09dc88fd931e88fd
RDMA/iw_cxgb4: Drop __GFP_NOFAIL

There is no reason for this __GFP_NOFAIL, none of the other routines in
this file use it, and there is an error unwind here. NOFAIL should be
reserved for special cases, not used by network drivers.

Fixes: 6a0b6174d35a ("rdma/cxgb4: Add support for kernel mode SRQ's")
Reported-by: Nicholas Mc Guire <hofrat@osadl.org>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/cxgb4/qp.c