diff options
| author | Len Brown <len.brown@intel.com> | 2026-05-03 14:29:40 -0400 |
|---|---|---|
| committer | Len Brown <len.brown@intel.com> | 2026-10-19 10:19:51 -0400 |
| commit | 3bbe42ac516d3f0ea43aaaa6dbf98f174f3f8a1b (patch) | |
| tree | 56cc78e7ab08a474b8ccc98a27890944e6de350a /scripts/basic/split-include.c | |
| parent | 12f841ec7b8943923f04fc438cb2883b9f9a773e (diff) | |
| download | linux-3bbe42ac516d3f0ea43aaaa6dbf98f174f3f8a1b.tar.gz linux-3bbe42ac516d3f0ea43aaaa6dbf98f174f3f8a1b.zip | |
tools/power turbostat: Cleanup: consistently use warn/err, not perror
Acknowledge that get_msr() always errs out on failure by returning
void and deleting checks for its return value.
Replace all perror() with warn().
Replace all perror()/exit() with err().
No functional change, unless you count the uniform return value of -1
on calloc failure.
Assisted-by: Claude:claude-sonnet-4.6
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'scripts/basic/split-include.c')
0 files changed, 0 insertions, 0 deletions
