summaryrefslogtreecommitdiff
path: root/drivers/cpufreq/s3c64xx-cpufreq.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-10-17 00:59:33 +0400
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-10-17 00:59:33 +0400
commit09c87e2f79eb336bd313090be8113ae29345b8f5 (patch)
treea5caa91864fcac4343abd09c9d59fe27cf305682 /drivers/cpufreq/s3c64xx-cpufreq.c
parent52e0a509e5d6f902ec26bc2a8bb02b137dc453be (diff)
downloadlinux-09c87e2f79eb336bd313090be8113ae29345b8f5.tar.xz
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 <srinivas.pandruvada@linux.intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpufreq/s3c64xx-cpufreq.c')
0 files changed, 0 insertions, 0 deletions