aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
authorLaura Abbott <[email protected]>2016-10-19 15:53:52 -0700
committerRafael J. Wysocki <[email protected]>2016-11-01 06:16:52 +0100
commitc25badc9ceb612c6cc227a6fc4b0aaf678e3bcf9 (patch)
tree418ed952591e479ec9647974ac3b36760db95fbb /tools/perf/scripts/python/bin/export-to-postgresql-report
parenta909d3e636995ba7c349e2ca5dbb528154d4ac30 (diff)
cpupower: Correct return type of cpu_power_is_cpu_online() in cpufreq-set
When converting to a shared library in ac5a181d065d ("cpupower: Add cpuidle parts into library"), cpu_freq_cpu_exists() was converted to cpupower_is_cpu_online(). cpu_req_cpu_exists() returned 0 on success and -ENOSYS on failure whereas cpupower_is_cpu_online returns 1 on success. Check for the correct return value in cpufreq-set. Link: https://bugzilla.redhat.com/show_bug.cgi?id=1374212 Fixes: ac5a181d065d (cpupower: Add cpuidle parts into library) Reported-by: Julian Seward <[email protected]> Signed-off-by: Laura Abbott <[email protected]> Acked-by: Thomas Renninger <[email protected]> Cc: 4.7+ <[email protected]> # 4.7+ Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions