diff options
author | David S. Miller <davem@davemloft.net> | 2013-03-27 13:52:49 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-03-27 13:52:49 -0400 |
commit | e2a553dbf18a5177fdebe29495c32a8e7fd3a4db (patch) | |
tree | 5ccb3d498325a7aaf93f49549eca03cb7861ca1c /drivers/infiniband/hw/cxgb4 | |
parent | 7559d97993ae7d552c96313155286f372cf4cf7c (diff) | |
parent | a8c45289f215e137825bf9630d0abb41c1dc41ff (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Conflicts:
include/net/ipip.h
The changes made to ipip.h in 'net' were already included
in 'net-next' before that header was moved to another location.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/infiniband/hw/cxgb4')
-rw-r--r-- | drivers/infiniband/hw/cxgb4/qp.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/cxgb4/qp.c b/drivers/infiniband/hw/cxgb4/qp.c index 9fe6f1e84373..5b059e2d80cc 100644 --- a/drivers/infiniband/hw/cxgb4/qp.c +++ b/drivers/infiniband/hw/cxgb4/qp.c | |||
@@ -194,8 +194,10 @@ static int create_qp(struct c4iw_rdev *rdev, struct t4_wq *wq, | |||
194 | wq->rq.queue = dma_alloc_coherent(&(rdev->lldi.pdev->dev), | 194 | wq->rq.queue = dma_alloc_coherent(&(rdev->lldi.pdev->dev), |
195 | wq->rq.memsize, &(wq->rq.dma_addr), | 195 | wq->rq.memsize, &(wq->rq.dma_addr), |
196 | GFP_KERNEL); | 196 | GFP_KERNEL); |
197 | if (!wq->rq.queue) | 197 | if (!wq->rq.queue) { |
198 | ret = -ENOMEM; | ||
198 | goto free_sq; | 199 | goto free_sq; |
200 | } | ||
199 | PDBG("%s sq base va 0x%p pa 0x%llx rq base va 0x%p pa 0x%llx\n", | 201 | PDBG("%s sq base va 0x%p pa 0x%llx rq base va 0x%p pa 0x%llx\n", |
200 | __func__, wq->sq.queue, | 202 | __func__, wq->sq.queue, |
201 | (unsigned long long)virt_to_phys(wq->sq.queue), | 203 | (unsigned long long)virt_to_phys(wq->sq.queue), |