diff options
| author | 2023-11-03 09:36:20 +0300 | |
|---|---|---|
| committer | 2023-12-04 22:11:54 -0800 | |
| commit | ca4ef28d0ad831d2521fa2b16952f37fd9324ca3 (patch) | |
| tree | afd5f43c4518358541482da70f58584cb2baac4c /rust/kernel/ssh:/git@git.zx2c4.com | |
| parent | net/mlx5e: Check netdev pointer before checking its net ns (diff) | |
net/mlx5: Fix a NULL vs IS_ERR() check
The mlx5_esw_offloads_devlink_port() function returns error pointers, not
NULL.
Fixes: 7bef147a6ab6 ("net/mlx5: Don't skip vport check")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Reviewed-by: Wojciech Drewek <wojciech.drewek@intel.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'rust/kernel/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
