Re: [PATCH] net/mlx5: DR, Fix NULL vs IS_ERR checking in dr_domain_init_resources

From: Saeed Mahameed
Date: Wed Dec 22 2021 - 14:10:27 EST


On Wed, 2021-12-22 at 06:54 +0000, Miaoqian Lin wrote:
> 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@xxxxxxxxx>

Applied to net-mlx5.

Thanks.