diff options
| author | GuoHan Zhao <zhaoguohan@kylinos.cn> | 2026-07-16 14:52:19 +0800 |
|---|---|---|
| committer | Rob Herring (Arm) <robh@kernel.org> | 2026-08-24 16:49:28 -0500 |
| commit | 7ab64476a610fe65858fdc37c7a30caa13e334ac (patch) | |
| tree | d592ab642a5f3f5495d63b35b4fbc09bcbaa4bcf /tools/lib/python/kdoc/python_version.py | |
| parent | 7e33ba3a1d48c2d20ed270dec9d2d08332585c8e (diff) | |
accel/ethosu: check MMIO mapping errors in probe
devm_platform_ioremap_resource() returns an error pointer when the register
resource cannot be mapped. ethosu_probe() stores it and continues until
initialization dereferences it through MMIO accessors.
Return the mapping error before initializing the device.
Fixes: 5a5e9c0228e6 ("accel: Add Arm Ethos-U NPU driver")
Cc: stable@vger.kernel.org
Signed-off-by: GuoHan Zhao <zhaoguohan@kylinos.cn>
Link: https://patch.msgid.link/20260716065219.931088-1-zhaoguohan@kylinos.cn
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
