commit | 2da56881a7f8fdd887e6c2d250db58f1abdad0b6 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Fri Dec 17 17:59:08 2021 +0300 |
committer | Will Deacon <will@kernel.org> | Tue Jan 04 13:58:17 2022 +0000 |
tree | 8481af3442930bad8674a97b00ea54bfff56a3a0 | |
parent | 527a7f52529fd661d200e6c4412b6d2528d1a6e8 [diff] |
drivers: perf: marvell_cn10k: fix an IS_ERR() vs NULL check The devm_ioremap() function does not return error pointers. It returns NULL. Fixes: 036a7584bede ("drivers: perf: Add LLC-TAD perf counter support") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Link: https://lore.kernel.org/r/20211217145907.GA16611@kili Signed-off-by: Will Deacon <will@kernel.org>