Re: [PATCH net-next] net/mlx5: Fix a NULL vs IS_ERR() check
From: Vlad Buslov <hidden>
Date: 2021-02-10 11:44:00
Also in:
kernel-janitors, netdev
From: Vlad Buslov <hidden>
Date: 2021-02-10 11:44:00
Also in:
kernel-janitors, netdev
On Wed 10 Feb 2021 at 13:06, Dan Carpenter [off-list ref] 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 <redacted>Thanks, Dan! Reviewed-by: Vlad Buslov <redacted>