Re: [PATCH net-next] net/mlx5: Fix a NULL vs IS_ERR() check

2021-02-10 Thread Saeed Mahameed
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

Re: [PATCH net-next] net/mlx5: Fix a NULL vs IS_ERR() check

2021-02-10 Thread Vlad Buslov
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! R

[PATCH net-next] net/mlx5: Fix a NULL vs IS_ERR() check

2021-02-10 Thread Dan Carpenter
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 --- This applies to net-next but it might actually go through a different tr