Re: [PATCH RESEND v2] dma: at_hdmac: Use stored IRQ in error path
From: Vinod Koul
Date: Thu Sep 03 2026 - 13:08:49 EST
On Mon, 27 Jul 2026 14:29:17 +0800, Hongling Zeng wrote:
> When request_irq() succeeds but a later error occurs in at_dma_probe(),
> the error handling path attempts to free the IRQ by calling
> platform_get_irq() again instead of using the already stored IRQ number
> in the local variable 'irq'.
>
> Use the stored 'irq' variable directly in free_irq() to make the
> code clearer and eliminate smatch warnings about potential IRQ leaks.
>
> [...]
Applied, thanks!
[1/1] dma: at_hdmac: Use stored IRQ in error path
commit: 3d79127509bffc92c9083165ff461de73ec9c568
Best regards,
--
~Vinod