[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <176138849305.19465.16067508552534255451.b4-ty@kernel.org>
Date: Sat, 25 Oct 2025 11:34:53 +0100
From: Lee Jones <lee@...nel.org>
To: Support Opensource <support.opensource@...semi.com>,
Lee Jones <lee@...nel.org>, Haotian Zhang <vulab@...as.ac.cn>
Cc: linux-kernel@...r.kernel.org
Subject: Re: (subset) [PATCH] mfd: da9055: Fix missing
regmap_del_irq_chip() in error path
On Fri, 10 Oct 2025 09:17:36 +0800, Haotian Zhang wrote:
> When da9055_device_init() fails after regmap_add_irq_chip()
> succeeds but mfd_add_devices() fails, the error handling path
> only calls mfd_remove_devices() but forgets to call
> regmap_del_irq_chip(). This results in a resource leak.
>
> Fix this by adding regmap_del_irq_chip() to the error path so
> that resources are released properly.
>
> [...]
Applied, thanks!
[1/1] mfd: da9055: Fix missing regmap_del_irq_chip() in error path
commit: be8512ed15826a24f4599ac48dd6168f9647d47d
--
Lee Jones [李琼斯]
Powered by blists - more mailing lists