Skip to content
Commit 2da56881 authored by Dan Carpenter's avatar Dan Carpenter Committed by Will Deacon
Browse files

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



The devm_ioremap() function does not return error pointers.  It returns
NULL.

Fixes: 036a7584 ("drivers: perf: Add LLC-TAD perf counter support")
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/20211217145907.GA16611@kili


Signed-off-by: default avatarWill Deacon <will@kernel.org>
parent 527a7f52
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment