commit | 5136fa56582beadb7fa71eb30bc79148bfcba5c1 | [log] [tgz] |
---|---|---|
author | Srivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com> | Sat Sep 07 01:24:06 2013 +0530 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Tue Sep 10 02:49:48 2013 +0200 |
tree | 12dc11b371dd0fbfbca20db5cae5f2941c542c33 | |
parent | 56d07db274b7b15ca38b60ea4a762d40de093000 [diff] |
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>