Re: [PATCH net-next] net/mlx5e: Use PTR_ERR_OR_ZERO in mlx5e_tc_add_nic_flow()

From: David Miller
Date: Sat Aug 24 2019 - 17:23:02 EST


From: YueHaibing <yuehaibing@xxxxxxxxxx>
Date: Thu, 22 Aug 2019 06:52:19 +0000

> Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR
>
> Signed-off-by: YueHaibing <yuehaibing@xxxxxxxxxx>

Saeed, please pick this up if you haven't already.

Thank you.