On Wed, 26 Feb 2025 15:54:13 +0200, Leon Romanovsky wrote: > 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. For example, applications calling ibv_modify_qp > that fails with EBUSY when retrieving the QP uobject will see the > overridden error code EINVAL instead, masking the actual error. > > [...] Applied, thanks! [1/1] RDMA/uverbs: Propagate errors from rdma_lookup_get_uobject() https://git.kernel.org/rdma/rdma/c/81f8f7454ad9e0 Best regards, -- Leon Romanovsky <leon@xxxxxxxxxx>