]> git.karo-electronics.de Git - karo-tx-linux.git/commit
MLK-10123: cpufreq: imx6q-cpufreq: initialize local variable 'i'
authorRobin Gong <b38343@freescale.com>
Wed, 21 Jan 2015 04:57:47 +0000 (12:57 +0800)
committerRobin Gong <b38343@freescale.com>
Wed, 21 Jan 2015 05:08:42 +0000 (13:08 +0800)
commit6d48b36adf76c362a4b6e23ecbf23ed0dfa661a8
treeda77b47ab38413af1b48d6ce334f9909af7e28ce
parent8d32311d13033fbcdd1fff81c416e42515c4896d
MLK-10123: cpufreq: imx6q-cpufreq: initialize local variable 'i'

Initialize local variable 'i' to 0, otherwise may fall into wrong
code path. The issue come with commit 757ff4b89.

Signed-off-by: Robin Gong <b38343@freescale.com>
drivers/cpufreq/imx6q-cpufreq.c