On Fri, May 14, 2021 at 05:18:10PM +0300, Dan Carpenter wrote: > The uapi_get_object() function returns error pointers, it never returns > NULL. > > Fixes: 149d3845f4a5 ("RDMA/uverbs: Add a method to introspect handles in a context") > Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx> > --- > drivers/infiniband/core/uverbs_std_types_device.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > Thanks, Reviewed-by: Leon Romanovsky <leonro@xxxxxxxxxx>