Skip to content
Commit 6f194c99 authored by Xu Qiang's avatar Xu Qiang Committed by Marc Zyngier
Browse files

irqdomain: Report irq number for NOMAP domains

When using a NOMAP domain, __irq_resolve_mapping() doesn't store
the Linux IRQ number at the address optionally provided by the caller.
While this isn't a huge deal (the returned value is guaranteed
to the hwirq that was passed as a parameter), let's honour the letter
of the API by writing the expected value.

Fixes: d22558dd

 (“irqdomain: Introduce irq_resolve_mapping()”)
Signed-off-by: default avatarXu Qiang <xuqiang36@huawei.com>
[maz: commit message]
Signed-off-by: default avatarMarc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20220719063641.56541-2-xuqiang36@huawei.com
parent 29517170
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment