Re: (subset) [PATCH] mfd: mt6397-irq: Fix missing irq_domain_remove() in error path
From: Lee Jones
Date: Thu Nov 20 2025 - 09:23:14 EST
On Tue, 18 Nov 2025 20:15:00 +0800, Haotian Zhang wrote:
> If devm_request_threaded_irq() fails after irq_domain_create_linear()
> succeeds in mt6397_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_create_linear() to properly release the IRQ domain.
>
> [...]
Applied, thanks!
[1/1] mfd: mt6397-irq: Fix missing irq_domain_remove() in error path
commit: b4b1bd1f330fdd13706382be6c90ce9f58cee3f5
--
Lee Jones [李琼斯]