git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
23faf0b
)
cpufreq: Throw warning when we try to get policy for an invalid CPU
author
Viresh Kumar
<viresh.kumar@linaro.org>
Thu, 19 Feb 2015 11:32:05 +0000
(17:02 +0530)
committer
Rafael J. Wysocki
<rafael.j.wysocki@intel.com>
Thu, 7 May 2015 21:29:57 +0000
(23:29 +0200)
Simply returning here with an error is not enough. It shouldn't be allowed at
all to try calling cpufreq_cpu_get() for an invalid CPU.
Add a WARN here to make it clear that it wouldn't be acceptable at all.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Acked-by: Saravana Kannan <skannan@codeaurora.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/cpufreq.c
patch
|
blob
|
history
diff --cc
drivers/cpufreq/cpufreq.c
Simple merge