[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <7ed7d257-4744-47a6-a86a-4da8c54e38db@roeck-us.net>
Date: Sun, 12 Oct 2025 11:21:10 -0700
From: Guenter Roeck <linux@...ck-us.net>
To: Erick Karanja <karanja99erick@...il.com>
Cc: grantpeltier93@...il.com, chiang.brian@...entec.com,
gregkh@...uxfoundation.org, peterz@...radead.org,
linux-hwmon@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] hwmon: (pmbus) Fix child node reference leak on early
return
On Sun, Oct 12, 2025 at 09:12:49PM +0300, Erick Karanja wrote:
> In the case of an early return, the reference to the
> child node needs to be release.
>
> Use for_each_child_of_node_scoped to fix the issue.
>
> Fixes: 3996187f80a0e ("hwmon: (pmbus/isl68137) add support for voltage divider on Vout")
> Signed-off-by: Erick Karanja <karanja99erick@...il.com>
Applied.
Thanks,
Guenter
Powered by blists - more mailing lists