mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-18 19:12:56 +00:00
RDMA/uverbs: Fix a NULL vs IS_ERR() bug
[ Upstream commit463a3f6647] The uapi_get_object() function returns error pointers, it never returns NULL. Fixes:149d3845f4("RDMA/uverbs: Add a method to introspect handles in a context") Link: https://lore.kernel.org/r/YJ6Got+U7lz+3n9a@mwanda Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Reviewed-by: Leon Romanovsky <leonro@nvidia.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
c62c907ccc
commit
7cf4decefa
1 changed files with 2 additions and 2 deletions
Loading…
Add table
Add a link
Reference in a new issue