diff options
author | Dan Carpenter <dan.carpenter@linaro.org> | 2025-03-14 13:55:10 +0300 |
---|---|---|
committer | Suzuki K Poulose <suzuki.poulose@arm.com> | 2025-03-14 15:43:53 +0300 |
commit | 5442d22da7dbff3ba8c6720fc6f23ea4934d402d (patch) | |
tree | c99bb42ee42e053f9da855370e659bef19214bb6 /tools/perf/scripts/python/parallel-perf.py | |
parent | b5060c17f9dc13ee740ae940733ec03fdc9847f9 (diff) | |
download | linux-5442d22da7dbff3ba8c6720fc6f23ea4934d402d.tar.xz |
Coresight: Fix a NULL vs IS_ERR() bug in probe
The devm_platform_get_and_ioremap_resource() function doesn't
return NULL, it returns error pointers. Update the checking to
match.
Fixes: f78d206f3d73 ("Coresight: Add Coresight TMC Control Unit driver")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Link: https://lore.kernel.org/r/dab039b9-d58a-41be-92f0-ff209cfabfe2@stanley.mountain
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions