From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Lunn Subject: Re: [PATCH net-next] net: ethernet: ti: cpsw: Fix inconsistent IS_ERR and PTR_ERR in cpsw_probe() Date: Mon, 29 Apr 2019 15:56:03 +0200 Message-ID: <20190429135603.GI10772@lunn.ch> References: <20190429135650.72794-1-yuehaibing@huawei.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20190429135650.72794-1-yuehaibing@huawei.com> Sender: netdev-owner@vger.kernel.org To: YueHaibing Cc: Grygorii Strashko , Ivan Khoronzhuk , Ilias Apalodimas , linux-omap@vger.kernel.org, netdev@vger.kernel.org, kernel-janitors@vger.kernel.org List-Id: linux-omap@vger.kernel.org On Mon, Apr 29, 2019 at 01:56:50PM +0000, YueHaibing wrote: > Change the call to PTR_ERR to access the value just tested by IS_ERR. > > Signed-off-by: YueHaibing Please could you add a Fixes: tag. Reviewed-by: Andrew Lunn Andrew