]> git.baikalelectronics.ru Git - kernel.git/commit
clk: SPEAr: Vco-pll: Fix compilation warning
authorViresh Kumar <viresh.kumar@linaro.org>
Thu, 4 Oct 2012 09:49:08 +0000 (15:19 +0530)
committerMike Turquette <mturquette@linaro.org>
Mon, 29 Oct 2012 18:04:34 +0000 (11:04 -0700)
commit0de76ca6004e04acf37508f5df0acc5cf096830d
tree573e33ce366b879451083c4067f40763ea0b6f6b
parent47e9b4f8d477fa4aee4b58e1afe93ce35e1d294e
clk: SPEAr: Vco-pll: Fix compilation warning

Currently we are getting following warning for SPEAr clk-vco-pll.

"warning: i is used uninitialized in this function."

This is because we are getting value of i by passing its pointer to another
routine.

The variables here are really not used uninitialized.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
drivers/clk/spear/clk-vco-pll.c