diff options
| author | 2025-12-08 08:38:04 +0530 | |
|---|---|---|
| committer | 2026-02-13 14:03:17 -0600 | |
| commit | 8e5c0cc326f2e95a71bb6e6063e65caa60c8f951 (patch) | |
| tree | 5b6dfabd7c0a333fd1454cf1f660dd66a58e0971 /tools/testing/selftests/dm-verity/git:/ssh:/git@git.zx2c4.com | |
| parent | tools/power turbostat: Favor cpu# over core# (diff) | |
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>
Diffstat (limited to 'tools/testing/selftests/dm-verity/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
