]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
clk: sunxi: factors: clear variables before using them
authorEmilio López <emilio@elopez.com.ar>
Sat, 21 Sep 2013 01:03:11 +0000 (22:03 -0300)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Sun, 10 Nov 2013 10:39:51 +0000 (11:39 +0100)
commit12ef06afb3959e7f6f2ae8917c4750883a3e8c14
tree6b919044b0f3c2db4d6d0003b41d9c648c1a6c77
parentc518e84c76e12e12a2a3404a293b2465af9be5f8
clk: sunxi: factors: clear variables before using them

Random bits may get into our factors if we don't clear n, k, m and p.

Signed-off-by: Emilio López <emilio@elopez.com.ar>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
drivers/clk/sunxi/clk-factors.c