https://github.com/torvalds/linux
Revision f4602cbb0a2478dda8238a4f382867da425daa8e authored by Jason Gunthorpe on 22 May 2018, 21:56:51 UTC, committed by Jason Gunthorpe on 23 May 2018, 21:25:53 UTC
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>
1 parent 30bf066
History
Tip revision: f4602cbb0a2478dda8238a4f382867da425daa8e authored by Jason Gunthorpe on 22 May 2018, 21:56:51 UTC
IB/uverbs: Fix uverbs_attr_get_obj
Tip revision: f4602cb

back to top