On Wed, May 13, 2020 at 01:08:09PM +0300, Leon Romanovsky wrote: > From: Leon Romanovsky <leonro@xxxxxxxxxxxx> > > The output buffer used in mlx5_cmd_exec_inout() was wrongly changed > from pre-allocated srq_out pointer to an input "out" point. That > leads to unpredictable results in the get_srqc() call later. > > Fixes: 31578defe4eb ("RDMA/mlx5: Update mlx5_ib to use new cmd interface") > Reported-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx> > Signed-off-by: Leon Romanovsky <leonro@xxxxxxxxxxxx> > --- > drivers/infiniband/hw/mlx5/srq_cmd.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) Applied to for-next, thanks Jason