diff options
author | Dan Carpenter <dan.carpenter@linaro.org> | 2025-07-16 22:38:30 +0300 |
---|---|---|
committer | Suzuki K Poulose <suzuki.poulose@arm.com> | 2025-09-23 16:13:27 +0300 |
commit | 7fdd04e15ad79cc2294b9e722d6282357da0b53a (patch) | |
tree | 1d0ba28c32ca9c998d854f0dacb38cc60687da48 /tools/testing/selftests/net/lib/py/utils.py | |
parent | e54a52a28a362cb3a88d7996558f547666ee79e7 (diff) | |
download | linux-7fdd04e15ad79cc2294b9e722d6282357da0b53a.tar.xz |
coresight: tnoc: Fix a NULL vs IS_ERR() bug in probe
The devm_ioremap_resource() function returns error pointers on error.
It never returns NULL. Update the error checking to match.
Fixes: e54a52a28a36 ("coresight: add coresight Trace Network On Chip driver")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Reviewed-by: Mike Leach <mike.leach@linaro.org>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Link: https://lore.kernel.org/r/7bd9fae8-a15f-412a-8800-ce47acf0b5ce@sabinyo.mountain
Diffstat (limited to 'tools/testing/selftests/net/lib/py/utils.py')
0 files changed, 0 insertions, 0 deletions