On Thu, Sep 08, 2022 at 06:07:07PM +0900, Daisuke Matsuda wrote: > Set 'length' on ib_mr in uverbs layer to let all drivers have it, this > includes both reg/rereg MR flows. Also, this commit removes redundancy in > each driver. > > Previously, commit 04c0a5fcfcf65 ("IB/uverbs: Set IOVA on IB MR in uverbs > layer") changed to set 'iova', but seems to have missed 'length' at that > time. > > Fixes: 04c0a5fcfcf65 ("IB/uverbs: Set IOVA on IB MR in uverbs layer") > Signed-off-by: Daisuke Matsuda <matsuda-daisuke@xxxxxxxxxxx> > --- > drivers/infiniband/core/uverbs_cmd.c | 5 ++++- > drivers/infiniband/hw/hns/hns_roce_mr.c | 1 - > drivers/infiniband/hw/mlx4/mr.c | 1 - > 3 files changed, 4 insertions(+), 3 deletions(-) You missed same change in ib_reg_user_mr(). Thanks