RE: [PATCH v2 1/3] clk: renesas: cpg-mssr: Add early clock support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Geert

On Wednesday, September 26, 2018, Geert Uytterhoeven wrote:
> Thanks for the update!
> Works fine on R-Car Gen2 and Gen3.

Thank you for checking!


> >         struct clk **clks;
> 
> In v1, you initialized clks to NULL, which was needed ...
~~~
> > +       priv->base = of_iomap(np, 0);
> > +       if (!priv->base) {
> > +               error = -ENOMEM;
> > +               goto out_err;
> 
> ... because else it's still uninitialized here ...
~~~
> > +out_err:
> > +       kfree(clks);
> 
> ... and freed here.

Damn! I could not remember why I set it to NULL. And I moved so much 
code around I thought it was a mistake, so I took it out.



> Reviewed-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>
> i.e. will queue in clk-renesas-for-v4.20, with the above fixed.

OK, I'll send a new version out shortly.

Chris





[Index of Archives]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux