From mboxrd@z Thu Jan 1 00:00:00 1970 From: Haggai Eran Subject: Re: [PATCH 6/8] IB/mlx5/hmm: add mlx5 HMM device initialization and callback v3. Date: Tue, 21 Jul 2015 13:44:33 +0300 Message-ID: <55AE2291.5020804@mellanox.com> References: <1437159665-6612-1-git-send-email-jglisse@redhat.com> <1437159665-6612-7-git-send-email-jglisse@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-Reply-To: <1437159665-6612-7-git-send-email-jglisse-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> Sender: linux-rdma-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: =?UTF-8?B?SsOpcsO0bWUgR2xpc3Nl?= , linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org Cc: Christophe Harle , Duncan Poole , Sherry Cheung , Subhash Gutti , John Hubbard , Mark Hairgrove , Lucien Dunning , Cameron Buschardt , Arvind Gopalakrishnan , Shachar Raindel , Liran Liss List-Id: linux-rdma@vger.kernel.org On 17/07/2015 22:01, J=C3=A9r=C3=B4me Glisse wrote: > diff --git a/drivers/infiniband/core/umem_odp.c b/drivers/infiniband/= core/umem_odp.c > index ac87ac6..c5e7461 100644 > --- a/drivers/infiniband/core/umem_odp.c > +++ b/drivers/infiniband/core/umem_odp.c > @@ -134,7 +134,7 @@ int ib_umem_odp_get(struct ib_ucontext *context, = struct ib_umem *umem) > return -ENOMEM; > } > kref_init(&ib_mirror->kref); > - init_rwsem(&ib_mirror->hmm_mr_rwsem); > + init_rwsem(&ib_mirror->umem_rwsem); > ib_mirror->umem_tree =3D RB_ROOT; > ib_mirror->ib_device =3D ib_device; > =20 I think this line can be squashed to the previous patch. -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" i= n the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html