Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 302623
b: refs/heads/master
c: da49643
h: refs/heads/master
i:
  302621: acb707c
  302619: bc347c6
  302615: 627db3f
  302607: 7dda4af
  302591: db5811e
v: v3
  • Loading branch information
Roland Dreier committed May 8, 2012
1 parent dcfbc13 commit c06b121
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: fe2caefcdf5869f308c102e3d64d40683bfad711
refs/heads/master: da4964387d997244b043dd812540bed851c45c9e
2 changes: 1 addition & 1 deletion trunk/drivers/infiniband/hw/ocrdma/ocrdma_hw.c
Original file line number Diff line number Diff line change
Expand Up @@ -2546,7 +2546,7 @@ static int ocrdma_create_mq_eq(struct ocrdma_dev *dev)

static int ocrdma_create_qp_eqs(struct ocrdma_dev *dev)
{
int num_eq, i, status;
int num_eq, i, status = 0;
int irq;
unsigned long flags = 0;

Expand Down
5 changes: 3 additions & 2 deletions trunk/drivers/infiniband/hw/ocrdma/ocrdma_verbs.c
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ static int ocrdma_copy_pd_uresp(struct ocrdma_pd *pd,
{
int status;
u64 db_page_addr;
u64 dpp_page_addr;
u64 dpp_page_addr = 0;
u32 db_page_size;
struct ocrdma_alloc_pd_uresp rsp;
struct ocrdma_ucontext *uctx = get_ocrdma_ucontext(ib_ctx);
Expand Down Expand Up @@ -368,7 +368,8 @@ static int ocrdma_copy_pd_uresp(struct ocrdma_pd *pd,
return 0;

ucopy_err:
ocrdma_del_mmap(pd->uctx, dpp_page_addr, OCRDMA_DPP_PAGE_SIZE);
if (pd->dpp_enabled)
ocrdma_del_mmap(pd->uctx, dpp_page_addr, OCRDMA_DPP_PAGE_SIZE);
dpp_map_err:
ocrdma_del_mmap(pd->uctx, db_page_addr, db_page_size);
return status;
Expand Down

0 comments on commit c06b121

Please sign in to comment.