On Sun, Aug 30, 2020 at 11:40:04AM +0300, Leon Romanovsky wrote: > From: Leon Romanovsky <leonro@xxxxxxxxxxxx> > > The SRQ can be destroyed right before mlx5_cmd_get_srq is called. > In such case the latter will return NULL instead of expected SRQ. > > Fixes: e126ba97dba9 ("mlx5: Add driver for Mellanox Connect-IB adapters") > Signed-off-by: Leon Romanovsky <leonro@xxxxxxxxxxxx> > --- > drivers/infiniband/hw/mlx5/cq.c | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) Applied to for-next Thanks, Jason