On Wed, Feb 19, 2025 at 03:52:05PM +0200, Leon Romanovsky wrote: > From: Maher Sanalla <msanalla@xxxxxxxxxx> > > Currently, the IB uverbs API calls uobj_get_uobj_read(), which in turn > uses the rdma_lookup_get_uobject() helper to retrieve user objects. > In case of failure, uobj_get_uobj_read() returns NULL, overriding the > error code from rdma_lookup_get_uobject(). The IB uverbs API then > translates this NULL to -EINVAL, masking the actual error and > complicating debugging. This may have been deliberate as this old stuff is not supposed to be returning weird error codes. What error code are you missing here? Jason