aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/cxgb4/cq.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/infiniband/hw/cxgb4/cq.c')
-rw-r--r--drivers/infiniband/hw/cxgb4/cq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/infiniband/hw/cxgb4/cq.c b/drivers/infiniband/hw/cxgb4/cq.c
index fac5c6e68011..b3daf39eed4a 100644
--- a/drivers/infiniband/hw/cxgb4/cq.c
+++ b/drivers/infiniband/hw/cxgb4/cq.c
@@ -43,7 +43,7 @@ static int destroy_cq(struct c4iw_rdev *rdev, struct t4_cq *cq,
43 int ret; 43 int ret;
44 44
45 wr_len = sizeof *res_wr + sizeof *res; 45 wr_len = sizeof *res_wr + sizeof *res;
46 skb = alloc_skb(wr_len, GFP_KERNEL | __GFP_NOFAIL); 46 skb = alloc_skb(wr_len, GFP_KERNEL);
47 if (!skb) 47 if (!skb)
48 return -ENOMEM; 48 return -ENOMEM;
49 set_wr_txq(skb, CPL_PRIORITY_CONTROL, 0); 49 set_wr_txq(skb, CPL_PRIORITY_CONTROL, 0);
@@ -118,7 +118,7 @@ static int create_cq(struct c4iw_rdev *rdev, struct t4_cq *cq,
118 /* build fw_ri_res_wr */ 118 /* build fw_ri_res_wr */
119 wr_len = sizeof *res_wr + sizeof *res; 119 wr_len = sizeof *res_wr + sizeof *res;
120 120
121 skb = alloc_skb(wr_len, GFP_KERNEL | __GFP_NOFAIL); 121 skb = alloc_skb(wr_len, GFP_KERNEL);
122 if (!skb) { 122 if (!skb) {
123 ret = -ENOMEM; 123 ret = -ENOMEM;
124 goto err4; 124 goto err4;