diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2025-09-26 12:29:50 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2025-10-01 13:57:13 +0200 |
commit | c28a280bd465690981099cd6e43dfcfa5c28b133 (patch) | |
tree | 601896d5d64046c84a87e07f1e018cdf6e0ed943 /rust/kernel/task.rs | |
parent | f965d111e68f4a993cc44d487d416e3d954eea11 (diff) |
ACPI: CPPC: Do not use CPUFREQ_ETERNAL as an error value
Instead of using CPUFREQ_ETERNAL for signaling an error condition
in cppc_get_transition_latency(), change the return value type of
that function to int and make it return a proper negative error
code on failures.
No intentional functional impact.
Reviewed-by: Mario Limonciello (AMD) <superm1@kernel.org>
Reviewed-by: Jie Zhan <zhanjie9@hisilicon.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Qais Yousef <qyousef@layalina.io>
Diffstat (limited to 'rust/kernel/task.rs')
0 files changed, 0 insertions, 0 deletions