Re: [PATCH] drivers/perf: fix return value check in ali_drw_pmu_probe()

From: Catalin Marinas
Date: Fri Oct 07 2022 - 12:44:23 EST


On Sat, 24 Sep 2022 11:21:27 +0800, Sun Ke wrote:
> In case of error, devm_ioremap_resource() returns ERR_PTR(),
> and never returns NULL. The NULL test in the return value
> check should be replaced with IS_ERR().
>
>

Applied to arm64 (for-next/core), thanks!

[1/1] drivers/perf: fix return value check in ali_drw_pmu_probe()
https://git.kernel.org/arm64/c/ad0112f2d54c

--
Catalin