mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-08 18:57:22 +00:00
cpuidle_state_get_one_value() never cleared errno before calling strtoull(), so a prior ERANGE caused every cpuidle counter read to return zero. Reset errno to 0 before the conversion so each sysfs read is evaluated independently. Link: https://lore.kernel.org/r/20251201121745.3776703-1-kaushlendra.kumar@intel.com Signed-off-by: Kaushlendra Kumar <kaushlendra.kumar@intel.com> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org> |
History
|
|
|---|---|---|
| .. | ||
| acpi_cppc.c | ||
| acpi_cppc.h | ||
| cpufreq.c | ||
| cpufreq.h | ||
| cpuidle.c | ||
| cpuidle.h | ||
| cpupower.c | ||
| cpupower.h | ||
| cpupower_intern.h | ||
| powercap.c | ||
| powercap.h | ||