From: Leon Romanovsky Date: Wed, 07 Aug 2019 13:15:34 +0000 Subject: Re: [PATCH] IB/mlx5: Check the correct variable in error handling code Message-Id: <20190807131534.GG32366@mtr-leonro.mtl.com> List-Id: References: <20190807123236.GA11452@mwanda> In-Reply-To: <20190807123236.GA11452@mwanda> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Dan Carpenter Cc: Yishai Hadas , Doug Ledford , Jason Gunthorpe , linux-rdma@vger.kernel.org, kernel-janitors@vger.kernel.org On Wed, Aug 07, 2019 at 03:32:36PM +0300, Dan Carpenter wrote: > The code accidentally checks "event_sub" instead of "event_sub->eventfd". > > Fixes: 759738537142 ("IB/mlx5: Enable subscription for device events over DEVX") > Signed-off-by: Dan Carpenter > --- > drivers/infiniband/hw/mlx5/devx.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Thanks, Acked-by: Leon Romanovsky