Files
erofs-linux/tools/power/cpupower/lib
Kaushlendra Kumar f9bd3762cf tools/power cpupower: Reset errno before strtoull()
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/[email protected]
Signed-off-by: Kaushlendra Kumar <[email protected]>
Signed-off-by: Shuah Khan <[email protected]>
2025-12-15 12:33:28 -07:00
..
…