[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2ed01eb3-ff46-425c-75dc-81729a5c30a8@omp.ru>
Date: Thu, 14 Apr 2022 12:29:08 +0300
From: Sergey Shtylyov <s.shtylyov@....ru>
To: Haowen Bai <baihaowen@...zu.com>,
Geert Uytterhoeven <geert+renesas@...der.be>,
Michael Turquette <mturquette@...libre.com>,
Stephen Boyd <sboyd@...nel.org>
CC: <linux-renesas-soc@...r.kernel.org>, <linux-clk@...r.kernel.org>,
<linux-kernel@...r.kernel.org>
Subject: Re: [PATCH V2] clk: renesas: Fix memory leak of 'cpg'
Hello!
On 4/13/22 11:19 AM, Haowen Bai wrote:
> Fix this issue by freeing the cpg when exiting the function in the
> error/normal path.
>
> Signed-off-by: Haowen Bai <baihaowen@...zu.com>
> ---
> V1->V2: free both cpg&clks.
>
> drivers/clk/renesas/clk-r8a73a4.c | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)
2 patches with the same name won't do -- you always need to include the chip name
part of the file name in the subject (in this case r8a73a4).
MBR, Sergey
Powered by blists - more mailing lists