diff options
| author | 2026-05-06 12:14:13 +0800 | |
|---|---|---|
| committer | 2026-05-06 09:13:12 +0200 | |
| commit | 8b9db67396105f6b95bcc57a354e50ac20705704 (patch) | |
| tree | aa33dae7ea4ed134aef931271d24146d84ac231c /scripts/Makefile.thinlto | |
| parent | irqchip/qcom: Unify user-visible "Qualcomm" name (diff) | |
irqchip/starfive: Fix error check for devm_platform_ioremap_resource()
devm_platform_ioremap_resource() returns an error pointer on failure, not
NULL.
Fix the check to use IS_ERR() and return PTR_ERR() to correctly handle
allocation failures.
Fixes: 2f59ca185497 ("irqchip/starfive: Use devm_ interfaces to simplify resource release")
Signed-off-by: Chen Ni <nichen@iscas.ac.cn>
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Reviewed-by: Changhuang Liang <changhuang.liang@starfivetech.com>
Link: https://patch.msgid.link/20260506041413.1670799-1-nichen@iscas.ac.cn
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
