Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
irqdomain: fix possible uninitialized variable in irq_find_mapping()
In irq_find_mapping,ret value may be uninitialized.However,even if the local variable irq is initialized, it only solves the uninitialized problem and ret value is still an incorrect virq, so my modification method is to set virq in __irq_resolve_mapping function. Fixes: d22558d (“irqdomain: Introduce irq_resolve_mapping()”) Signed-off-by: Xu Qiang <xuqiang36@huawei.com>
- Loading branch information