Commit:     e6028c0e004d334bb9ed75d4c918f4c763af1b9f
Parent:     a9d1884925c80b96a621939a4fef5d74de58debe
Author:     Jack Morgenstein <[EMAIL PROTECTED]>
AuthorDate: Thu Feb 14 10:39:36 2008 -0800
Committer:  Roland Dreier <[EMAIL PROTECTED]>
CommitDate: Thu Feb 14 10:39:36 2008 -0800

    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 <[EMAIL PROTECTED]>
    Signed-off-by: Roland Dreier <[EMAIL PROTECTED]>
 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 7dc91a3..fe2c2e9 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,
        if (err)
                goto err_free;
-       err = mlx4_mr_enable(to_mdev(pd->device)->dev, &fmr->;
+       err = mlx4_fmr_enable(to_mdev(pd->device)->dev, &fmr->mfmr);
        if (err)
                goto err_mr;
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to