Re: [PATCH] clk: imx: reference preceded by free

2021-04-08 Thread Stephen Boyd
Quoting Jian Dong (2021-04-07 18:53:12) > On Tue, 30 Mar 2021 19:16:48 -0700 > Stephen Boyd wrote: > > > Quoting Jian Dong (2021-03-22 20:10:34) > > > From: Jian Dong > > > > > > when register failed, clk will be freed, it will generate dangling > > > pointer problem in later reference. it sho

Re: [PATCH] clk: imx: reference preceded by free

2021-04-07 Thread Jian Dong
On Tue, 30 Mar 2021 19:16:48 -0700 Stephen Boyd wrote: > Quoting Jian Dong (2021-03-22 20:10:34) > > From: Jian Dong > > > > when register failed, clk will be freed, it will generate dangling > > pointer problem in later reference. it should return directly. > > > > Signed-off-by: Jian Dong

Re: [PATCH] clk: imx: reference preceded by free

2021-03-30 Thread Stephen Boyd
Quoting Jian Dong (2021-03-22 20:10:34) > From: Jian Dong > > when register failed, clk will be freed, it will generate dangling pointer > problem in later reference. it should return directly. > > Signed-off-by: Jian Dong > --- Any Fixes tag?

Re: [PATCH] clk: imx: reference preceded by free

2021-03-30 Thread Abel Vesa
On 21-03-23 11:10:34, Jian Dong wrote: > From: Jian Dong > > when register failed, clk will be freed, it will generate dangling pointer > problem in later reference. it should return directly. > > Signed-off-by: Jian Dong Applied, thanks. > --- > drivers/clk/imx/clk-lpcg-scu.c | 1 + > dri

[PATCH] clk: imx: reference preceded by free

2021-03-22 Thread Jian Dong
From: Jian Dong when register failed, clk will be freed, it will generate dangling pointer problem in later reference. it should return directly. Signed-off-by: Jian Dong --- drivers/clk/imx/clk-lpcg-scu.c | 1 + drivers/clk/imx/clk-scu.c | 1 + 2 files changed, 2 insertions(+) diff --