From: Saeed Mahameed Date: Thu, 11 Feb 2021 04:17:46 +0000 Subject: Re: [PATCH net-next] net/mlx5: Fix a NULL vs IS_ERR() check Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Vlad Buslov , Dan Carpenter Cc: Leon Romanovsky , "David S. Miller" , Jakub Kicinski , Dmytro Linkin , Roi Dayan , netdev@vger.kernel.org, linux-rdma@vger.kernel.org, kernel-janitors@vger.kernel.org On Wed, 2021-02-10 at 13:40 +0200, Vlad Buslov wrote: > On Wed 10 Feb 2021 at 13:06, Dan Carpenter > wrote: > > The mlx5_chains_get_table() function doesn't return NULL, it > > returns > > error pointers so we need to fix this condition. > > > > Fixes: 34ca65352ddf ("net/mlx5: E-Switch, Indirect table > > infrastructure") > > Signed-off-by: Dan Carpenter > > Thanks, Dan! > > Reviewed-by: Vlad Buslov Applied to net-next-mlx5 Thanks!