]> git.baikalelectronics.ru Git - kernel.git/commit
IB: When attrs.udata/ufile is available use that instead of uobject
authorJason Gunthorpe <jgg@mellanox.com>
Mon, 1 Apr 2019 20:08:24 +0000 (17:08 -0300)
committerJason Gunthorpe <jgg@mellanox.com>
Mon, 8 Apr 2019 16:05:25 +0000 (13:05 -0300)
commit6f4889b66935d4115776f5fe2f8e5523c40a103f
tree6de5b0eeab5e8ffb12e544fd54a04bf0050cf906
parentef016c8abc21033b636de63285311a4498c28902
IB: When attrs.udata/ufile is available use that instead of uobject

The ucontext and ufile should not be accessed via the uobject, all these
cases have an attrs so use that instead.

Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/core/rdma_core.c
drivers/infiniband/core/uverbs_std_types_counters.c
drivers/infiniband/core/uverbs_std_types_cq.c
drivers/infiniband/core/uverbs_std_types_dm.c
drivers/infiniband/core/uverbs_std_types_flow_action.c
include/rdma/uverbs_std_types.h