[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20240423093038.do3vbkvcx6yhdtyp@vireshk-i7>
Date: Tue, 23 Apr 2024 15:00:38 +0530
From: Viresh Kumar <viresh.kumar@...aro.org>
To: Javier Carrasco <javier.carrasco.cruz@...il.com>
Cc: "Rafael J. Wysocki" <rafael@...nel.org>, linux-pm@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 0/2] cpufreq: dt/dt-platdev: eliminate uses of
of_node_put()
On 23-04-24, 10:27, Javier Carrasco wrote:
> This series removes uses of of_node_put() in dt and dt-platdev, which
> can be replaced with the clenaup handler introduced with
> 54da6a092431 ("locking: Introduce __cleanup() based infrastructure").
>
> This change provides a scope-based cleanup mechanism to avoid potential
> memory leaks that can appear if of_node_put() is not used correctly.
>
> The series is based on linux-next (next-20240422) and has been validated
> with a Rockchip RK3568 that makes use of these drivers.
>
> Signed-off-by: Javier Carrasco <javier.carrasco.cruz@...il.com>
> ---
> Javier Carrasco (2):
> cpufreq: dt: eliminate uses of of_node_put()
> cpufreq: dt-platdev: eliminate uses of of_node_put()
>
> drivers/cpufreq/cpufreq-dt-platdev.c | 7 ++-----
> drivers/cpufreq/cpufreq-dt.c | 21 ++++++---------------
> 2 files changed, 8 insertions(+), 20 deletions(-)
Applied. Thanks.
--
viresh
Powered by blists - more mailing lists