From: Jason Gunthorpe Date: Mon, 04 May 2020 17:13:15 +0000 Subject: Re: [PATCH] i40iw: Fix error handling in i40iw_manage_arp_cache() Message-Id: <20200504171315.GA10755@ziepe.ca> List-Id: References: <20200422092211.GA195357@mwanda> In-Reply-To: <20200422092211.GA195357@mwanda> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Dan Carpenter Cc: Faisal Latif , Shiraz Saleem , Doug Ledford , Shannon Nelson , Anjali Singhai Jain , linux-rdma@vger.kernel.org, kernel-janitors@vger.kernel.org On Wed, Apr 22, 2020 at 12:22:11PM +0300, Dan Carpenter wrote: > The i40iw_arp_table() function can return -EOVERFLOW if > i40iw_alloc_resource() fails so we can't just test for "= -1". > > Fixes: 4e9042e647ff ("i40iw: add hw and utils files") > Signed-off-by: Dan Carpenter > Acked-by: Shiraz Saleem > --- > drivers/infiniband/hw/i40iw/i40iw_hw.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied to for-rc, thanks Jason