summaryrefslogtreecommitdiff
path: root/rust/helpers/bitmap.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2025-09-26 13:29:50 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2025-10-01 14:57:13 +0300
commitc28a280bd465690981099cd6e43dfcfa5c28b133 (patch)
tree601896d5d64046c84a87e07f1e018cdf6e0ed943 /rust/helpers/bitmap.c
parentf965d111e68f4a993cc44d487d416e3d954eea11 (diff)
downloadlinux-c28a280bd465690981099cd6e43dfcfa5c28b133.tar.xz
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/helpers/bitmap.c')
0 files changed, 0 insertions, 0 deletions