diff options
| author | Miaoqian Lin <linmq006@gmail.com> | 2021-12-22 06:54:53 +0000 |
|---|---|---|
| committer | Saeed Mahameed <saeedm@nvidia.com> | 2021-12-22 20:38:46 -0800 |
| commit | 6b8b42585886c59a008015083282aae434349094 (patch) | |
| tree | 7d64e18ea0eee9aaf09ec36c19ac0d5e513f74b9 /lib/mpi/mpi-internal.h | |
| parent | d1652b70d07cc3eed96210c876c4879e1655f20e (diff) | |
net/mlx5: DR, Fix NULL vs IS_ERR checking in dr_domain_init_resources
The mlx5_get_uars_page() function returns error pointers.
Using IS_ERR() to check the return value to fix this.
Fixes: 4ec9e7b02697 ("net/mlx5: DR, Expose steering domain functionality")
Signed-off-by: Miaoqian Lin <linmq006@gmail.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'lib/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions
