st ; Boris Pismenny
> >; Matan Barak ; Raed
> >Salem ; Yishai Hadas ; Saeed
> >Mahameed ; linux-netdev
> >
> >Subject: Re: [PATCH rdma-next v2 01/13] IB/uverbs: Add an ib_uobject getter
> >to ioctl() infrastructure
> >
> >On Tue, May 29, 2018 at 07
hai Hadas ; Saeed
>Mahameed ; linux-netdev
>
>Subject: Re: [PATCH rdma-next v2 01/13] IB/uverbs: Add an ib_uobject getter
>to ioctl() infrastructure
>
>On Tue, May 29, 2018 at 07:31:22PM +, Ruhl, Michael J wrote:
>> >- struct ib_uverbs_destroy_cq_resp resp;
>> &g
On Tue, May 29, 2018 at 07:31:22PM +, Ruhl, Michael J wrote:
> >-struct ib_uverbs_destroy_cq_resp resp;
> > struct ib_uobject *uobj =
> >-uverbs_attr_get(attrs,
> >UVERBS_ATTR_DESTROY_CQ_HANDLE)->obj_attr.uobject;
> >-struct ib_ucq_object *obj = container_of(uobj, struct
.org>; Boris Pismenny ; Matan
>Barak ; Raed Salem ; Yishai
>Hadas ; Saeed Mahameed
>; linux-netdev
>Subject: [PATCH rdma-next v2 01/13] IB/uverbs: Add an ib_uobject getter to
>ioctl() infrastructure
>
>From: Matan Barak
>
>Previously, the user had to dig inside the attrib
From: Matan Barak
Previously, the user had to dig inside the attribute to get the uobject.
Add a helper function that correctly extract it (and do the required
checks) for him/her.
Tested-by: Michael Guralnik
Signed-off-by: Matan Barak
Signed-off-by: Leon Romanovsky
---
drivers/infiniband/co