[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <bc0e039a48be39f825aa583fe20deb63@kernel.org>
Date: Wed, 16 Oct 2024 09:09:16 +0000
From: "Maxime Ripard" <mripard@...nel.org>
To: "Jinjie Ruan" <ruanjinjie@...wei.com>
Cc: linux-clk@...r.kernel.org, linux-kernel@...r.kernel.org, mripard@...nel.org, mturquette@...libre.com, ruanjinjie@...wei.com, sboyd@...nel.org, "Maxime
Ripard" <mripard@...nel.org>
Subject: Re: [PATCH] clk: test: Fix some memory leaks
On Wed, 16 Oct 2024 10:26:58 +0800, Jinjie Ruan wrote:
> CONFIG_CLK_KUNIT_TEST=y, CONFIG_DEBUG_KMEMLEAK=y
> and CONFIG_DEBUG_KMEMLEAK_AUTO_SCAN=y, the following memory leak occurs.
>
> If the KUNIT_ASSERT_*() fails, the latter (exit() or testcases)
> clk_put() or clk_hw_unregister() will fail to release the clk resource
>
> [ ... ]
Reviewed-by: Maxime Ripard <mripard@...nel.org>
Thanks!
Maxime
Powered by blists - more mailing lists