[PATCH] drivers: perf: marvell_cn10k: fix an IS_ERR() vs NULL check

Will Deacon will at kernel.org
Wed Jan 5 09:31:38 PST 2022


On Fri, 17 Dec 2021 17:59:08 +0300, Dan Carpenter wrote:
> The devm_ioremap() function does not return error pointers.  It returns
> NULL.
> 
> 

Applied to will (for-next/perf), thanks!

[1/1] drivers: perf: marvell_cn10k: fix an IS_ERR() vs NULL check
      https://git.kernel.org/will/c/2da56881a7f8

Cheers,
-- 
Will

https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev



More information about the linux-arm-kernel mailing list