On Tue, Oct 29, 2019 at 07:57:21AM +0200, Leon Romanovsky wrote: > From: Leon Romanovsky <leonro@xxxxxxxxxxxx> > > Returned value from mlx5_mr_cache_alloc() is checked to be error > or real pointer. Return proper error code instead of NULL which > is not checked later. > > Fixes: 81713d3788d2 ("IB/mlx5: Add implicit MR support") > Signed-off-by: Leon Romanovsky <leonro@xxxxxxxxxxxx> > --- > drivers/infiniband/hw/mlx5/mr.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied to for-next, thanks Jason