[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <160390751694.374708.7173123437808246701.b4-ty@bootlin.com>
Date: Wed, 28 Oct 2020 18:52:05 +0100
From: Alexandre Belloni <alexandre.belloni@...tlin.com>
To: kjlu@....edu, Dinghao Liu <dinghao.liu@....edu.cn>
Cc: Alexandre Belloni <alexandre.belloni@...tlin.com>,
linux-kernel@...r.kernel.org, Maxime Ripard <mripard@...nel.org>,
linux-rtc@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
Alessandro Zummo <a.zummo@...ertech.it>,
Chen-Yu Tsai <wens@...e.org>
Subject: Re: [PATCH] [v3] rtc: sun6i: Fix memleak in sun6i_rtc_clk_init
On Tue, 20 Oct 2020 14:12:26 +0800, Dinghao Liu wrote:
> When clk_hw_register_fixed_rate_with_accuracy() fails,
> clk_data should be freed. It's the same for the subsequent
> two error paths, but we should also unregister the already
> registered clocks in them.
Applied, thanks!
[1/1] rtc: sun6i: Fix memleak in sun6i_rtc_clk_init
commit: 28d211919e422f58c1e6c900e5810eee4f1ce4c8
Best regards,
--
Alexandre Belloni <alexandre.belloni@...tlin.com>
Powered by blists - more mailing lists