[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200422.194019.686324336801344834.davem@davemloft.net>
Date: Wed, 22 Apr 2020 19:40:19 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: tangbin@...s.chinamobile.com
Cc: andrew@...n.ch, f.fainelli@...il.com, hkallweit1@...il.com,
linux@...linux.org.uk, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, zhangshengju@...s.chinamobile.com
Subject: Re: [PATCH] net: phy: Use IS_ERR() to check and simplify code
From: Tang Bin <tangbin@...s.chinamobile.com>
Date: Wed, 22 Apr 2020 16:15:42 +0800
> Use IS_ERR() and PTR_ERR() instead of PTR_ZRR_OR_ZERO()
> to simplify code, avoid redundant paramenter definitions
> and judgements.
>
> Signed-off-by: Zhang Shengju <zhangshengju@...s.chinamobile.com>
> Signed-off-by: Tang Bin <tangbin@...s.chinamobile.com>
Applied, thanks.
Powered by blists - more mailing lists