commit | 3efa38125b81fb4eb7dbb43295cb82a203dc0398 | [log] [tgz] |
---|---|---|
author | Matan Barak <matanb@mellanox.com> | Thu May 31 16:43:28 2018 +0300 |
committer | Leon Romanovsky <leonro@mellanox.com> | Sat Jun 02 07:33:53 2018 +0300 |
tree | b70ce7fe0a8d71a80fb8483ffc2447a5a530c0c8 | |
parent | 5f9bf63ae80c4d0e5e986b6c1280bf8174978545 [diff] |
IB/uverbs: Add an ib_uobject getter to ioctl() infrastructure Previously, the user had to dig inside the attribute to get the uobject. Add a helper function that correctly extract it (and do the required checks) for him/her. Signed-off-by: Matan Barak <matanb@mellanox.com> Reviewed-by: Michael J. Ruhl <michael.j.ruhl@intel.com> Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>