]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit - include/rdma/ib_verbs.h
RDMA/core: Do not erase the type of ib_qp.uobject
authorJason Gunthorpe <jgg@mellanox.com>
Wed, 8 Jan 2020 17:21:59 +0000 (19:21 +0200)
committerJason Gunthorpe <jgg@mellanox.com>
Mon, 13 Jan 2020 20:20:15 +0000 (16:20 -0400)
commit620d3f8176cbb3a9c0c7962a05fb15310a9998d4
tree33b1882fb2dec29d97e3ffa6ccef50ec79345268
parent5bd48c18c8cea0154800b40ec75201fa71684312
RDMA/core: Do not erase the type of ib_qp.uobject

This is a struct ib_uqp_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-8-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/core_priv.h
drivers/infiniband/core/uverbs_cmd.c
drivers/infiniband/core/uverbs_main.c
include/rdma/ib_verbs.h