diff options
author | Akshay Adiga <akshay.adiga@linux.vnet.ibm.com> | 2016-11-14 14:59:27 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2016-11-14 23:32:31 +0300 |
commit | c9a81e6864d48f81797397bbd65d299bf20c6148 (patch) | |
tree | 6a0c091f2d23f42574fa25146c66efb08b96747c /security/smack | |
parent | 7f7a516ee30a931fa2d257b39f5ef7b9196c56fc (diff) | |
download | linux-c9a81e6864d48f81797397bbd65d299bf20c6148.tar.xz |
cpufreq: powernv: Fix uninitialized lpstate_idx in gpstates_timer_handler()
lpstate_idx remains uninitialized in the case when elapsed_time
is greater than MAX_RAMP_DOWN_TIME. At the end of rampdown the
global pstate should be equal to the local pstate.
Fixes: 20b15b766354 (cpufreq: powernv: Use PMCR to verify global and localpstate)
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Akshay Adiga <akshay.adiga@linux.vnet.ibm.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'security/smack')
0 files changed, 0 insertions, 0 deletions