From: Viresh Kumar Date: Thu, 19 Feb 2015 11:32:05 +0000 (+0530) Subject: cpufreq: Throw warning when we try to get policy for an invalid CPU X-Git-Tag: omap-for-v4.2/fixes-rc1^2~154^2~7^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1b947c904c4831d787c1f17a6a6cd40c7144ba85;p=pandora-kernel.git cpufreq: Throw warning when we try to get policy for an invalid CPU 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 Acked-by: Saravana Kannan Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed