]> asedeno.scripts.mit.edu Git - linux.git/commit
RDMA/core: Do not erase the type of ib_wq.uobject
authorJason Gunthorpe <jgg@mellanox.com>
Wed, 8 Jan 2020 17:22:01 +0000 (19:22 +0200)
committerJason Gunthorpe <jgg@mellanox.com>
Mon, 13 Jan 2020 20:20:16 +0000 (16:20 -0400)
commite04dd13159b0ddc0ff7f5e110bf99af3c65fabd3
tree1560cb0d27cbd7ad176c7282b3d19bb3e487d757
parent9fbe334c6a67c3c09f187e4b9b0e6eaf0ad31429
RDMA/core: Do not erase the type of ib_wq.uobject

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