Re: [PATCH] clk: st: avoid uninitialized variable use

2016-01-29 Thread Stephen Boyd
On 01/25, Arnd Bergmann wrote: > My previous patch fixed some warnings about printing a couple > of variables that are always uninitialized in quadfs_pll_fs660c32_set_rate(), > but I now got a warning that only shows up in some configurations (i.e. > without gcc -Os) about the params.ndiv being use

Re: [PATCH] clk: st: avoid uninitialized variable use

2015-11-20 Thread Stephen Boyd
On 11/12, Arnd Bergmann wrote: > quadfs_pll_fs660c32_round_rate prints a few structure members > that are never initialized, and also doesn't print the only one > it cares about. We get a gcc warning about the ones that > are printed: > > clk/st/clkgen-fsyn.c:560:93: warning: 'params.sdiv' may be

Re: [PATCH] clk: st: avoid uninitialized variable use

2015-11-16 Thread Gabriel Fernandez
On 12 November 2015 at 15:24, Arnd Bergmann wrote: > quadfs_pll_fs660c32_round_rate prints a few structure members > that are never initialized, and also doesn't print the only one > it cares about. We get a gcc warning about the ones that > are printed: > > clk/st/clkgen-fsyn.c:560:93: warning: '