[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <168656228140.662397.3944524571382952191.b4-ty@linaro.org>
Date: Mon, 12 Jun 2023 12:32:38 +0300
From: Abel Vesa <abel.vesa@...aro.org>
To: Abel Vesa <abelvesa@...nel.org>, Peng Fan <peng.fan@....com>,
Michael Turquette <mturquette@...libre.com>,
Stephen Boyd <sboyd@...nel.org>,
Shawn Guo <shawnguo@...nel.org>,
Sascha Hauer <s.hauer@...gutronix.de>,
Pengutronix Kernel Team <kernel@...gutronix.de>,
Fabio Estevam <festevam@...il.com>,
NXP Linux Team <linux-imx@....com>,
Anson Huang <Anson.Huang@....com>,
Yuxing Liu <lyx2022@...t.edu.cn>
Cc: hust-os-kernel-patches@...glegroups.com,
Dongliang Mu <dzm91@...t.edu.cn>, linux-clk@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] clk: imx: clk-imx8mp: improve error handling in imx8mp_clocks_probe()
On Wed, 03 May 2023 07:06:07 +0000, Yuxing Liu wrote:
> Replace of_iomap() and kzalloc() with devm_of_iomap() and devm_kzalloc()
> which can automatically release the related memory when the device
> or driver is removed or unloaded to avoid potential memory leak.
>
> In this case, iounmap(anatop_base) in line 427,433 are removed
> as manual release is not required.
>
> [...]
Applied, thanks!
[1/1] clk: imx: clk-imx8mp: improve error handling in imx8mp_clocks_probe()
commit: 878b02d5f3b56cb090dbe2c70c89273be144087f
Best regards,
--
Abel Vesa <abel.vesa@...aro.org>
Powered by blists - more mailing lists