[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <b0a7691a-37f9-4b11-a4b3-1cc53b351eb5@roeck-us.net>
Date: Thu, 15 Jan 2026 08:45:21 -0800
From: Guenter Roeck <linux@...ck-us.net>
To: Felix Gu <gu_0233@...com>
Cc: Ban Feng <kcfeng0@...oton.com>, linux-hwmon@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/2] hwmon: emc2305: Fix a resource leak in
emc2305_of_parse_pwm_child
On Thu, Jan 15, 2026 at 09:51:48PM +0800, Felix Gu wrote:
> When calling of_parse_phandle_with_args(), the caller is responsible
> to call of_node_put() to release the reference of device node.
> In emc2305_of_parse_pwm_child, it does not release the reference,
> causing a resource leak.
>
> Signed-off-by: Felix Gu <gu_0233@...com>
Applied.
Thanks,
Guenter
Powered by blists - more mailing lists