diff options
| author | Dan Carpenter <[email protected]> | 2021-02-10 11:06:28 +0000 |
|---|---|---|
| committer | Saeed Mahameed <[email protected]> | 2021-02-11 04:47:14 +0000 |
| commit | 4782c5d8b972ba26a2558f064601ecff743e0d25 (patch) | |
| tree | dee155c9ea00c1ddf212ba49a00df6c4396552fa /drivers/net/xen-netback/interface.c | |
| parent | net/mlx5: docs: correct section reference in table of contents (diff) | |
| download | kernel-4782c5d8b972ba26a2558f064601ecff743e0d25.tar.gz kernel-4782c5d8b972ba26a2558f064601ecff743e0d25.zip | |
net/mlx5: Fix a NULL vs IS_ERR() check
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 <[email protected]>
Reviewed-by: Vlad Buslov <[email protected]>
Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions
