diff options
author | Dan Carpenter <dan.carpenter@linaro.org> | 2025-07-16 14:38:30 -0500 |
---|---|---|
committer | Suzuki K Poulose <suzuki.poulose@arm.com> | 2025-09-23 14:13:27 +0100 |
commit | 7fdd04e15ad79cc2294b9e722d6282357da0b53a (patch) | |
tree | 1d0ba28c32ca9c998d854f0dacb38cc60687da48 /rust/helpers/bitmap.c | |
parent | e54a52a28a362cb3a88d7996558f547666ee79e7 (diff) |
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 'rust/helpers/bitmap.c')
0 files changed, 0 insertions, 0 deletions