From: Rafael J. Wysocki Date: Wed, 16 Oct 2013 20:59:33 +0000 (+0200) Subject: intel_pstate: Fix type mismatch warning X-Git-Tag: v3.12-rc6~2^2~1^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=09c87e2f79eb336bd313090be8113ae29345b8f5;p=pandora-kernel.git intel_pstate: Fix type mismatch warning The expression in line 398 of intel_pstate.c causes the following warning to be emitted: drivers/cpufreq/intel_pstate.c:398:3: warning: left shift count >= width of type which happens because unsigned long is 32-bit on some architectures. Fix that by using a helper u64 variable and simplify the code slightly. Tested-by: Srinivas Pandruvada Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed