(subset) [PATCH] mfd: mt6358-irq: Fix missing irq_domain_remove() in error path
Lee Jones
lee at kernel.org
Thu Nov 20 06:24:21 PST 2025
On Tue, 18 Nov 2025 20:14:27 +0800, Haotian Zhang wrote:
> If devm_request_threaded_irq() fails after irq_domain_add_linear()
> succeeds in mt6358_irq_init(), the function returns without removing
> the created IRQ domain, leading to a resource leak.
>
> Call irq_domain_remove() in the error path after a successful
> irq_domain_add_linear() to properly release the IRQ domain.
>
> [...]
Applied, thanks!
[1/1] mfd: mt6358-irq: Fix missing irq_domain_remove() in error path
commit: 384bd58bf7095e4c4c8fcdbcede316ef342c630c
--
Lee Jones [李琼斯]
More information about the Linux-mediatek
mailing list