diff options
author | Srivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com> | 2013-09-06 21:54:06 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-09-10 02:49:48 +0200 |
commit | 5136fa56582beadb7fa71eb30bc79148bfcba5c1 (patch) | |
tree | 12dc11b371dd0fbfbca20db5cae5f2941c542c33 /drivers/cpufreq/sa1100-cpufreq.c | |
parent | cpufreq: Remove temporary fix for race between CPU hotplug and sysfs-writes (diff) | |
download | linux-5136fa56582beadb7fa71eb30bc79148bfcba5c1.tar.xz linux-5136fa56582beadb7fa71eb30bc79148bfcba5c1.zip |
cpufreq: Use signed type for 'ret' variable, to store negative error values
There are places where the variable 'ret' is declared as unsigned int
and then used to store negative return values such as -EINVAL. Fix them
by declaring the variable as a signed quantity.
Signed-off-by: Srivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpufreq/sa1100-cpufreq.c')
0 files changed, 0 insertions, 0 deletions