Re: [PATCH] mediatek/clk-mt8173-apmixedsys: use devm_of_iomap to avoid resource leak in clk_mt8173_apmixed_probe

From: Hao Ge
Date: Wed May 10 2023 - 21:57:26 EST




> On May 11, 2023, at 09:27, Hao Ge <gehao618@xxxxxxx> wrote:
>
> On Wed, 10 May 2023 14:18:08 -0700
> Stephen Boyd <sboyd@xxxxxxxxxx> wrote:
>
>> Quoting Hao Ge (2023-05-08 19:12:14)
>>> Use devm_platform_ioremap_resource to take the place of of_iomap for
>>> avoid that we don't called iounmap when return some error or remove
>>> device.
>>> Fixes: 4c02c9af3cb9 ("clk: mediatek: mt8173: Break down clock
>>> drivers and allow module build") Signed-off-by: Hao Ge
>>> <gehao@xxxxxxxxxx> ---
>> Is this v3?
> Hi Stephen
>
> yes,Perhaps you are too busy,I have not received a response
> in the future, so you are unsure about the status of V2.
> So I adjusted the code and title make changes smaller and
> sent V3 for it.It is precisely because of these that I did
> not continue the original mail thread.
>
> Best regards
> Hao
Hi Stephen

I made a few typos in my previous email. To avoid misunderstandings, I corrected them and sent a new one.

Yes,Perhaps you are too busy,I have not received a response in the future, so I am unsure about the status of V2.So I adjusted the code and title make changes smaller and
sent V3 for it.It is precisely because of these that I did not continue the original mail thread.

Best regards
Hao