Re: [PATCH] clk: davinci: Use the correct size when allocating memory

2020-08-18 Thread Stephen Boyd
Quoting Christophe JAILLET (2020-08-09 07:49:59) > 'sizeof(*pllen)' should be used in place of 'sizeof(*pllout)' to avoid a > small over-allocation. > > Fixes: 2d1726915159 ("clk: davinci: New driver for davinci PLL clocks") > Signed-off-by: Christophe JAILLET > --- Applied to clk-fixes

Re: [PATCH] clk: davinci: Use the correct size when allocating memory

2020-08-12 Thread David Lechner
On 8/9/20 9:49 AM, Christophe JAILLET wrote: 'sizeof(*pllen)' should be used in place of 'sizeof(*pllout)' to avoid a small over-allocation. Fixes: 2d1726915159 ("clk: davinci: New driver for davinci PLL clocks") Signed-off-by: Christophe JAILLET --- Reviewed-by: David Lechner

[PATCH] clk: davinci: Use the correct size when allocating memory

2020-08-09 Thread Christophe JAILLET
'sizeof(*pllen)' should be used in place of 'sizeof(*pllout)' to avoid a small over-allocation. Fixes: 2d1726915159 ("clk: davinci: New driver for davinci PLL clocks") Signed-off-by: Christophe JAILLET --- drivers/clk/davinci/pll.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --gi