From: Vlad Buslov Date: Wed, 10 Feb 2021 11:40:31 +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: Dan Carpenter Cc: Saeed Mahameed , 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 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