[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220730231815.dzuscf2x2sgj66bg@pengutronix.de>
Date: Sun, 31 Jul 2022 01:18:15 +0200
From: Uwe Kleine-König <u.kleine-koenig@...gutronix.de>
To: Yang Yingliang <yangyingliang@...wei.com>
Cc: linux-kernel@...r.kernel.org, linux-fbdev@...r.kernel.org,
deller@....de
Subject: Re: [PATCH -next] video: fbdev: imxfb: fix return value check in
imxfb_probe()
Hello,
On Fri, Jul 29, 2022 at 10:41:34AM +0800, Yang Yingliang wrote:
> If devm_ioremap_resource() fails, it never return NULL, replace
> NULL test with IS_ERR().
Oh, thanks for cleanup up behind me. Did you find this using some static
analysis tool? I would consider it interesting and fair to mention this
in the commit log.
Best regards
Uwe
--
Pengutronix e.K. | Uwe Kleine-König |
Industrial Linux Solutions | https://www.pengutronix.de/ |
Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)
Powered by blists - more mailing lists