diff options
| author | Dan Carpenter <dan.carpenter@linaro.org> | 2023-11-03 09:36:20 +0300 |
|---|---|---|
| committer | Saeed Mahameed <saeedm@nvidia.com> | 2023-12-04 22:11:54 -0800 |
| commit | ca4ef28d0ad831d2521fa2b16952f37fd9324ca3 (patch) | |
| tree | afd5f43c4518358541482da70f58584cb2baac4c /lib/debugobjects.c | |
| parent | 7aaf975238c47b710fcc4eca0da1e7902a53abe2 (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 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions
