diff options
author | 2013-01-31 17:13:39 -0800 | |
---|---|---|
committer | 2013-01-31 17:13:43 -0800 | |
commit | 229b21e2b75302d6d1b931031ae7d53e1a4d0830 (patch) | |
tree | 6895aa2f8ff6ae1e30734c1d5570cc56c7f4e6d8 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | cpufreq: exynos: Fix unsigned variable being checked for negative value (diff) | |
download | linux-dev-229b21e2b75302d6d1b931031ae7d53e1a4d0830.tar.xz linux-dev-229b21e2b75302d6d1b931031ae7d53e1a4d0830.zip |
cpufreq: exynos: Initialize return variable
'ret' is undefined when the function returns from the first
'if' condition. Without this patch we get the following warning:
drivers/cpufreq/exynos-cpufreq.c: In function 'exynos_target':
drivers/cpufreq/exynos-cpufreq.c:182:2: warning: 'ret' may be used uninitialized in this function [-Wuninitialized]
Suggested-by: Jonghwan Choi <jhbird.choi@samsung.com>
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions