aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/cxgb3/iwch_provider.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/infiniband/hw/cxgb3/iwch_provider.c')
-rw-r--r--drivers/infiniband/hw/cxgb3/iwch_provider.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/cxgb3/iwch_provider.c b/drivers/infiniband/hw/cxgb3/iwch_provider.c
index 0bdf09aa6f42..145d82a64d0a 100644
--- a/drivers/infiniband/hw/cxgb3/iwch_provider.c
+++ b/drivers/infiniband/hw/cxgb3/iwch_provider.c
@@ -783,8 +783,8 @@ static int iwch_dealloc_mw(struct ib_mw *mw)
783 mmid = (mw->rkey) >> 8; 783 mmid = (mw->rkey) >> 8;
784 cxio_deallocate_window(&rhp->rdev, mhp->attr.stag); 784 cxio_deallocate_window(&rhp->rdev, mhp->attr.stag);
785 remove_handle(rhp, &rhp->mmidr, mmid); 785 remove_handle(rhp, &rhp->mmidr, mmid);
786 kfree(mhp);
787 PDBG("%s ib_mw %p mmid 0x%x ptr %p\n", __func__, mw, mmid, mhp); 786 PDBG("%s ib_mw %p mmid 0x%x ptr %p\n", __func__, mw, mmid, mhp);
787 kfree(mhp);
788 return 0; 788 return 0;
789} 789}
790 790