Messages in this thread |  | | From | Catalin Marinas <> | Subject | Re: [PATCH] drivers/perf: fix return value check in ali_drw_pmu_probe() | Date | Fri, 7 Oct 2022 17:44:05 +0100 |
| |
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
|  |