diff options
author | 2020-07-09 13:05:22 -0700 | |
---|---|---|
committer | 2020-07-13 15:50:53 +0200 | |
commit | 3ff79754d7a2b27f6d2d56b3951fc9aa8080b063 (patch) | |
tree | e7c3d27cb093cbbc2cdbbef8b4859ef96a15686a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | cpufreq: Remove the weakly defined cpufreq_default_governor() (diff) | |
download | wireguard-linux-3ff79754d7a2b27f6d2d56b3951fc9aa8080b063.tar.xz wireguard-linux-3ff79754d7a2b27f6d2d56b3951fc9aa8080b063.zip |
cpufreq: intel_pstate: Fix static checker warning for epp variable
Fix warning for:
drivers/cpufreq/intel_pstate.c:731 store_energy_performance_preference()
error: uninitialized symbol 'epp'.
This warning is for a case, when energy_performance_preference attribute
matches pre defined strings. In this case the value of raw epp will not
be used to set EPP bits in MSR_HWP_REQUEST. So initializing with any
value is fine.
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions