commit | f4602cbb0a2478dda8238a4f382867da425daa8e | [log] [tgz] |
---|---|---|
author | Jason Gunthorpe <jgg@mellanox.com> | Tue May 22 15:56:51 2018 -0600 |
committer | Jason Gunthorpe <jgg@mellanox.com> | Wed May 23 15:25:53 2018 -0600 |
tree | 5e7b88cd7864478bcc027384fb23b2a93f3f55af | |
parent | 30bf066cd9989fef34aeeef9080368867fe42be7 [diff] |
IB/uverbs: Fix uverbs_attr_get_obj The err pointer comes from uverbs_attr_get, not from the uobject member, which does not store an ERR_PTR. Fixes: be934cca9e98 ("IB/uverbs: Add device memory registration ioctl support") Signed-off-by: Jason Gunthorpe <jgg@mellanox.com> Reviewed-by: Leon Romanovsky <leonro@mellanox.com>