Skip to content
Commit 6b8b4258 authored by Miaoqian Lin's avatar Miaoqian Lin Committed by Saeed Mahameed
Browse files

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: 4ec9e7b0 ("net/mlx5: DR, Expose steering domain functionality")
Signed-off-by: default avatarMiaoqian Lin <linmq006@gmail.com>
Signed-off-by: default avatarSaeed Mahameed <saeedm@nvidia.com>
parent d1652b70
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment