]> 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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 22 Apr 2026 11:30:34 +0000 (13:30 +0200)
commit4253a5fda4b23cb4f2e4d16200f4975995ce4908
tree2f6200db0284cc7cd1f6a88f514c903c6a28a121
parentd0ba807f99b320a9caeaf73ba5e0ee901c7dca52
tools/power turbostat: Fix incorrect format variable

[ Upstream commit 23cb4f5c81766e70e5f32ed0987ee8fb5ab2e00a ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
tools/power/x86/turbostat/turbostat.c