linux/tools/power
Kaushlendra Kumar 8e5c0cc326 tools/power turbostat: Use strtoul() for iteration parsing
Replace strtod() with strtoul() and check errno for -n/-N options, since
num_iterations and header_iterations are unsigned long counters. Reject
zero and conversion errors; negative inputs wrap to large positive values
per standard unsigned semantics.

Signed-off-by: Kaushlendra Kumar <kaushlendra.kumar@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
2026-02-13 14:03:17 -06:00
..
acpi ACPI: tools: pfrut: fix memory leak and resource leak in pfrut.c 2025-11-24 20:50:15 +01:00
cpupower tools/power/cpupower: Support building libcpupower statically 2025-11-05 09:56:01 -07:00
pm-graph PM: sleep: Use two lines for "Restarting..." / "done" messages 2025-04-22 13:58:30 +02:00
x86 tools/power turbostat: Use strtoul() for iteration parsing 2026-02-13 14:03:17 -06:00