summaryrefslogtreecommitdiff
path: root/include/linux/timerqueue.h
diff options
context:
space:
mode:
authorChen Ni <nichen@iscas.ac.cn>2026-05-06 07:14:13 +0300
committerThomas Gleixner <tglx@kernel.org>2026-05-06 10:13:12 +0300
commit8b9db67396105f6b95bcc57a354e50ac20705704 (patch)
treeaa33dae7ea4ed134aef931271d24146d84ac231c /include/linux/timerqueue.h
parent76841b0ea8be9309f6f9d2f7cf0dbac3af9ec361 (diff)
downloadlinux-8b9db67396105f6b95bcc57a354e50ac20705704.tar.xz
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 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions