Re: [PATCH] clk: hisilicon: Fix the memory leak issues

2020-11-09 Thread Dongjiu Geng
On 2020/11/8 21:55, Markus Elfring wrote: >> When return errors, … > > I would find an other wording more appropriate for this change description. > > >> …, so fix this issue. > > I suggest to replace this information by an other imperative wording > and the tag “Fixes”. OK, done, I have submi

[PATCH] clk: hisilicon: Fix the memory leak issues

2020-11-06 Thread Dongjiu Geng
When return errors, the clock driver does not unmap the mapped memory, so fix this issue. Signed-off-by: Dongjiu Geng --- drivers/clk/hisilicon/clk-hi3620.c | 8 ++-- drivers/clk/hisilicon/clk.c| 5 - 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/drivers/clk/his