Re: [PATCH] net/mlx5e: Use IS_ERR() to check and simplify code
From: David Miller
Date: Thu May 07 2020 - 16:18:37 EST
From: Tang Bin <tangbin@xxxxxxxxxxxxxxxxxxxx>
Date: Thu, 7 May 2020 19:50:10 +0800
> Use IS_ERR() and PTR_ERR() instead of PTR_ZRR_OR_ZERO()
> to simplify code, avoid redundant judgements.
>
> Signed-off-by: Zhang Shengju <zhangshengju@xxxxxxxxxxxxxxxxxxxx>
> Signed-off-by: Tang Bin <tangbin@xxxxxxxxxxxxxxxxxxxx>
Saeed, please pick this up.
Thank you.