[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <a1ee93c5-7ca3-de28-d222-6a7583892eab@pengutronix.de>
Date: Tue, 25 Apr 2017 10:49:10 +0200
From: Marc Kleine-Budde <mkl@...gutronix.de>
To: Wei Yongjun <weiyj.lk@...il.com>,
Wolfgang Grandegger <wg@...ndegger.com>,
Anton Glukhov <anton.a.glukhov@...il.com>,
Yegor Yefremov <yegorslists@...glemail.com>
Cc: Wei Yongjun <weiyongjun1@...wei.com>, linux-can@...r.kernel.org,
netdev@...r.kernel.org
Subject: Re: [PATCH net-next] can: ti_hecc: fix return value check in
ti_hecc_probe()
On 04/25/2017 08:44 AM, Wei Yongjun wrote:
> From: Wei Yongjun <weiyongjun1@...wei.com>
>
> In case of error, the function devm_ioremap_resource() returns ERR_PTR()
> and never returns NULL. The NULL test in the return value check should
> be replaced with IS_ERR().
>
> Fixes: dabf54dd1c63 ("can: ti_hecc: Convert TI HECC driver to DT only driver")
> Signed-off-by: Wei Yongjun <weiyongjun1@...wei.com>
Added to linux-can-next.
Tnx,
Marc
--
Pengutronix e.K. | Marc Kleine-Budde |
Industrial Linux Solutions | Phone: +49-231-2826-924 |
Vertretung West/Dortmund | Fax: +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |
Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)
Powered by blists - more mailing lists