]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
tools/power turbostat: Fix incorrect format variable
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Wed, 11 Mar 2026 09:00:32 +0000 (11:00 +0200)
committerLen Brown <len.brown@intel.com>
Wed, 18 Mar 2026 03:39:42 +0000 (23:39 -0400)
commit23cb4f5c81766e70e5f32ed0987ee8fb5ab2e00a
tree7a074295867b6b8fd21b82e5b06be340c6c75486
parented532d738a82269dfe490436b9b8def2274cfb6e
tools/power turbostat: Fix incorrect format variable

In the perf thread, core, and package counter loops, an incorrect
'mp->format' variable is used instead of 'pp->format'.

[lenb: edit commit message]
Fixes: 696d15cbd8c2 ("tools/power turbostat: Refactor floating point printout code")
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
tools/power/x86/turbostat/turbostat.c