linux/drivers/cpufreq
Sachin Kamat d271d077ac cpufreq: exynos: Fix unsigned variable being checked for negative value
exynos_cpufreq_scale function returns signed value which was
assigned to an unsigned variable and checked for negative value which
is always false. Hence make it signed.

Fixes the following smatch warnings:
drivers/cpufreq/exynos-cpufreq.c:83 exynos_cpufreq_scale() warn: unsigned 'old_index' is never less than zero.
drivers/cpufreq/exynos-cpufreq.c:89 exynos_cpufreq_scale() warn: unsigned 'index' is never less than zero.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
2013-01-25 10:18:09 -08:00
..
acpi-cpufreq.c acpi-cpufreq: Add compatibility for legacy AMD cpb sysfs knob 2012-09-09 22:05:20 +02:00
cpufreq_conservative.c cpufreq: governors: remove redundant code 2012-11-15 00:33:07 +01:00
cpufreq_governor.c cpufreq: governors: Fix jiffies/cputime mixup (revisited) 2012-11-24 10:08:47 +01:00
cpufreq_governor.h cpufreq: Fix sparse warnings by updating cputime64_t to u64 2012-11-15 00:33:08 +01:00
cpufreq_ondemand.c cpufreq: ondemand: update sampling rate only on right CPUs 2012-11-27 14:11:19 +01:00
cpufreq_performance.c cpufreq: Improve debug prints 2012-11-15 00:33:06 +01:00
cpufreq_powersave.c cpufreq: Improve debug prints 2012-11-15 00:33:06 +01:00
cpufreq_stats.c cpufreq: Fix sparse warnings by updating cputime64_t to u64 2012-11-15 00:33:08 +01:00
cpufreq_userspace.c cpufreq: Improve debug prints 2012-11-15 00:33:06 +01:00
cpufreq-cpu0.c cpufreq: remove use of __devinit 2012-11-21 01:18:40 +01:00
cpufreq-nforce2.c
cpufreq.c cpufreq: Remove unnecessary initialization of a local variable 2012-11-15 00:33:09 +01:00
db8500-cpufreq.c cpufreq: db8500: Use armss clk to update frequency 2012-11-09 16:47:07 -08:00
e_powersaver.c
elanfreq.c
exynos4x12-cpufreq.c cpufreq: exynos: Add missing static 2012-12-23 15:59:06 -08:00
exynos4210-cpufreq.c cpufreq: exynos: Add missing static 2012-12-23 15:59:06 -08:00
exynos5250-cpufreq.c cpufreq: exynos: Add missing static 2012-12-23 15:59:06 -08:00
exynos-cpufreq.c cpufreq: exynos: Fix unsigned variable being checked for negative value 2013-01-25 10:18:09 -08:00
freq_table.c cpufreq: Improve debug prints 2012-11-15 00:33:06 +01:00
gx-suspmod.c
Kconfig cpufreq: Add a generic cpufreq-cpu0 driver 2012-09-09 22:06:34 +02:00
Kconfig.arm cpufreq: SPEAr: Add CPUFreq driver 2012-11-27 14:05:26 +01:00
Kconfig.powerpc
Kconfig.x86 acpi-cpufreq: Add compatibility for legacy AMD cpb sysfs knob 2012-09-09 22:05:20 +02:00
longhaul.c cpufreq: remove use of __devexit 2012-11-21 01:18:49 +01:00
longhaul.h sections: fix section conflicts in drivers/cpufreq 2012-09-14 21:10:46 +02:00
longrun.c
Makefile cpufreq: SPEAr: Add CPUFreq driver 2012-11-27 14:05:26 +01:00
maple-cpufreq.c
mperf.c
mperf.h
omap-cpufreq.c cpufreq: OMAP: use get_cpu_device() instead of omap_device API 2012-10-08 14:58:56 -07:00
p4-clockmod.c
pcc-cpufreq.c drivers/cpufreq/pcc-cpufreq.c: fix error return code 2012-08-08 20:49:25 +02:00
powernow-k6.c
powernow-k7.c
powernow-k7.h
powernow-k8.c cpufreq: remove use of __devexit 2012-11-21 01:18:49 +01:00
powernow-k8.h cpufreq: Remove support for hardware P-state chips from powernow-k8 2012-09-09 22:05:30 +02:00
s3c64xx-cpufreq.c
s3c2416-cpufreq.c
s5pv210-cpufreq.c
sc520_freq.c
spear-cpufreq.c cpufreq: SPEAr: Add CPUFreq driver 2012-11-27 14:05:26 +01:00
speedstep-centrino.c
speedstep-ich.c
speedstep-lib.c
speedstep-lib.h
speedstep-smi.c