aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/core/uverbs_cmd.c
diff options
context:
space:
mode:
authorGal Pressman <galpress@amazon.com>2020-07-06 15:03:42 +0300
committerJason Gunthorpe <jgg@nvidia.com>2020-07-06 19:25:53 -0300
commitb64b74b1d51cce8c9496b6a071c1d59786c2144d (patch)
tree6fab4601d7a09d8261a1357c0df82cc05b69ce89 /drivers/infiniband/core/uverbs_cmd.c
parentRDMA/core: Check for error instead of success in alloc MR function (diff)
downloadlinux-dev-b64b74b1d51cce8c9496b6a071c1d59786c2144d.tar.xz
linux-dev-b64b74b1d51cce8c9496b6a071c1d59786c2144d.zip
RDMA/core: Remove ib_alloc_mr_user function
Allocating an MR flow can only be initiated by kernel users, and not from userspace. As a result, the udata parameter is always being passed as NULL. Rename ib_alloc_mr_user function to ib_alloc_mr and remove the udata parameter. Link: https://lore.kernel.org/r/20200706120343.10816-3-galpress@amazon.com Signed-off-by: Gal Pressman <galpress@amazon.com> Reviewed-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'drivers/infiniband/core/uverbs_cmd.c')
0 files changed, 0 insertions, 0 deletions