[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <176213091325.301408.8119254276502287887.b4-ty@collabora.com>
Date: Mon, 03 Nov 2025 01:48:33 +0100
From: Sebastian Reichel <sebastian.reichel@...labora.com>
To: Sebastian Reichel <sre@...nel.org>, linux-pm@...r.kernel.org,
Haotian Zhang <vulab@...as.ac.cn>
Cc: linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] power: supply: rt5033_charger: Fix device node
reference leaks
On Mon, 29 Sep 2025 19:32:34 +0800, Haotian Zhang wrote:
> The device node pointers `np_conn` and `np_edev`, obtained from
> of_parse_phandle() and of_get_parent() respectively, are not released.
> This results in a reference count leak.
>
> Add of_node_put() calls after the last use of these device nodes to
> properly release their references and fix the leaks.
>
> [...]
Applied, thanks!
[1/1] power: supply: rt5033_charger: Fix device node reference leaks
commit: 6cdc4d488c2f3a61174bfba4e8cc4ac92c219258
Best regards,
--
Sebastian Reichel <sebastian.reichel@...labora.com>
Powered by blists - more mailing lists