RDMA/core: Do not erase the type of ib_cq.uobject
authorJason Gunthorpe <jgg@mellanox.com>
Wed, 8 Jan 2020 17:21:58 +0000 (19:21 +0200)
committerJason Gunthorpe <jgg@mellanox.com>
Mon, 13 Jan 2020 20:20:15 +0000 (16:20 -0400)
commit5bd48c18c8cea0154800b40ec75201fa71684312
tree21bcf3edbc6ceaf64476a570c8747229a9811b0c
parent4ec1dcfcdf3756555adb5122c2443ea27741296a
RDMA/core: Do not erase the type of ib_cq.uobject

This is a struct ib_ucq_object pointer, instead of using container_of()
all over the place just store it with its actual type.

Link: https://lore.kernel.org/r/1578504126-9400-7-git-send-email-yishaih@mellanox.com
Signed-off-by: Yishai Hadas <yishaih@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/core/nldev.c
drivers/infiniband/core/uverbs_cmd.c
drivers/infiniband/core/uverbs_main.c
drivers/infiniband/core/uverbs_std_types_cq.c
include/rdma/ib_verbs.h