IB/uverbs: Use uverbs_alloc for allocations
authorJason Gunthorpe <jgg@mellanox.com>
Fri, 10 Aug 2018 02:14:41 +0000 (20:14 -0600)
committerJason Gunthorpe <jgg@mellanox.com>
Mon, 13 Aug 2018 15:16:13 +0000 (09:16 -0600)
commitb61815e241652096b61f59ca2063edecb23602a2
tree78b2b01213efbd6098543c8e872e84cfb8bfa3ec
parent461bb2eee4e162617e790c74d9b4ab10056cad7f
IB/uverbs: Use uverbs_alloc for allocations

Several handlers need temporary allocations for the life of the method,
switch them to use the uverbs_alloc allocator.

Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
drivers/infiniband/core/uverbs_std_types_counters.c
drivers/infiniband/hw/mlx5/devx.c