[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ede6eb9f-0f7c-2f26-7b3d-cd1fb158baa3@oracle.com>
Date: Tue, 29 Oct 2019 10:59:34 -0700
From: "santosh.shilimkar@...cle.com" <santosh.shilimkar@...cle.com>
To: Wei Yongjun <weiyongjun1@...wei.com>,
Santosh Shilimkar <ssantosh@...nel.org>,
Tero Kristo <t-kristo@...com>
Cc: linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
kernel-janitors@...r.kernel.org
Subject: Re: [PATCH -next] soc: ti: omap-prm: fix return value check in
omap_prm_probe()
On 10/10/19 10:24 PM, Wei Yongjun wrote:
> 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: 3e99cb214f03 ("soc: ti: add initial PRM driver with reset control support")
> Signed-off-by: Wei Yongjun <weiyongjun1@...wei.com>
> ---
Applied
Powered by blists - more mailing lists