diff options
author | Marek Szyprowski <m.szyprowski@samsung.com> | 2014-11-28 13:56:08 +0100 |
---|---|---|
committer | Marek Szyprowski <m.szyprowski@samsung.com> | 2014-11-28 13:56:08 +0100 |
commit | 5c074dce7e89cbe8ba93872f4edce97431e864cc (patch) | |
tree | c3c979c75c3623983652a9d8abe481673114ecc9 /drivers/cpufreq/exynos-cpufreq.c | |
parent | 3a1f6fbb8a4ef02d9781a0b79aa239cc74b7603a (diff) | |
download | linux-3.10-5c074dce7e89cbe8ba93872f4edce97431e864cc.tar.gz linux-3.10-5c074dce7e89cbe8ba93872f4edce97431e864cc.tar.bz2 linux-3.10-5c074dce7e89cbe8ba93872f4edce97431e864cc.zip |
cpufreq: exynos: fix potential initialization error due to signed vs. unsigned comparison
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Change-Id: Ia9ce7abb542b7dd82a9bc9b23e94728b57f95e59
Diffstat (limited to 'drivers/cpufreq/exynos-cpufreq.c')
-rw-r--r-- | drivers/cpufreq/exynos-cpufreq.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/cpufreq/exynos-cpufreq.c b/drivers/cpufreq/exynos-cpufreq.c index 920967dc490..dbcb2058337 100644 --- a/drivers/cpufreq/exynos-cpufreq.c +++ b/drivers/cpufreq/exynos-cpufreq.c @@ -293,7 +293,8 @@ int exynos_of_parse_boost(struct exynos_dvfs_info *info, { struct cpufreq_frequency_table *ft = info->freq_table; struct device_node *node = info->dev->of_node; - unsigned int boost_freq, i; + unsigned int boost_freq; + int i; if (of_property_read_u32(node, property_name, &boost_freq)) { pr_err("%s: Property: %s not found\n", __func__, |