On Mon, 08 Apr 2024 16:21:42 +0200, Zhu Yanjun wrote: > In the function __rxe_add_to_pool, the function xa_alloc_cyclic is > called. The return value of the function xa_alloc_cyclic is as below: > " > Return: 0 if the allocation succeeded without wrapping. 1 if the > allocation succeeded after wrapping, -ENOMEM if memory could not be > allocated or -EBUSY if there are no free entries in @limit. > " > But now the function __rxe_add_to_pool only returns -EINVAL. All the > returned error value should be returned to the caller. > > [...] Applied, thanks! [1/1] RDMA/rxe: Return the correct errno https://git.kernel.org/rdma/rdma/c/dfcdb38b21e4fb Best regards, -- Leon Romanovsky <leon@xxxxxxxxxx>