On Thu, Jun 17, 2021 at 4:14 PM Dan Carpenter <dan.carpenter@xxxxxxxxxx> wrote: > The "pll_clk" and "clock" pointers are allocated with devm_kzalloc() so > freeing them with kfree() will lead to a double free. This would only > happen if probe failed, and the system is not bootable. > > Fixes: ef3c613ccd68 ("clk: renesas: Add CPG core wrapper for RZ/G2L SoC") > Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx> > --- > V2: Fix "pll_clk" as well. Reviewed-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx> i.e. will queue in renesas-clk for v5.15. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds