diff options
author | Jack Morgenstein <jackm@dev.mellanox.co.il> | 2008-02-14 13:39:36 -0500 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2008-02-14 13:39:36 -0500 |
commit | e6028c0e004d334bb9ed75d4c918f4c763af1b9f (patch) | |
tree | 9b83da3ad6221f4935f22459ddfaf6a1702588c2 /drivers/infiniband/hw | |
parent | a9d1884925c80b96a621939a4fef5d74de58debe (diff) |
IB/mlx4: mlx4_ib_fmr_alloc() should call mlx4_fmr_enable()
Currently mlx4_ib_fmr_alloc() calls mlx4_mr_enable() instead of
mlx4_fmr_enable(). The two functions are equivalent at the moment, but
this is not really correct (and the change is needed to fix a bug).
Signed-off-by: Jack Morgenstein <jackm@dev.mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/hw')
-rw-r--r-- | drivers/infiniband/hw/mlx4/mr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/mlx4/mr.c b/drivers/infiniband/hw/mlx4/mr.c index 7dc91a3e712d..fe2c2e94a5f8 100644 --- a/drivers/infiniband/hw/mlx4/mr.c +++ b/drivers/infiniband/hw/mlx4/mr.c | |||
@@ -199,7 +199,7 @@ struct ib_fmr *mlx4_ib_fmr_alloc(struct ib_pd *pd, int acc, | |||
199 | if (err) | 199 | if (err) |
200 | goto err_free; | 200 | goto err_free; |
201 | 201 | ||
202 | err = mlx4_mr_enable(to_mdev(pd->device)->dev, &fmr->mfmr.mr); | 202 | err = mlx4_fmr_enable(to_mdev(pd->device)->dev, &fmr->mfmr); |
203 | if (err) | 203 | if (err) |
204 | goto err_mr; | 204 | goto err_mr; |
205 | 205 | ||