[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200507.131834.1517984934609648952.davem@davemloft.net>
Date: Thu, 07 May 2020 13:18:34 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: tangbin@...s.chinamobile.com
Cc: saeedm@...lanox.com, leon@...nel.org, netdev@...r.kernel.org,
linux-rdma@...r.kernel.org, linux-kernel@...r.kernel.org,
zhangshengju@...s.chinamobile.com
Subject: Re: [PATCH] net/mlx5e: Use IS_ERR() to check and simplify code
From: Tang Bin <tangbin@...s.chinamobile.com>
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@...s.chinamobile.com>
> Signed-off-by: Tang Bin <tangbin@...s.chinamobile.com>
Saeed, please pick this up.
Thank you.
Powered by blists - more mailing lists