From: Mauro Carvalho Chehab Date: Tue, 11 Feb 2025 07:00:46 +0000 (+0100) Subject: docs: trace: decode_msr.py: make it compatible with python 3 X-Git-Tag: v6.15-rc1~223^2~42 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6a0c4b61e13f9ab1d6395823fb06b0763eb370bd;p=thirdparty%2Flinux.git docs: trace: decode_msr.py: make it compatible with python 3 This script uses print instead of print(foo), which is incompatible with Python 3. Fix it. Signed-off-by: Mauro Carvalho Chehab Link: https://lore.kernel.org/r/88bb0d47100feaa3cda215e68bf6500dc67da7b3.1739257245.git.mchehab+huawei@kernel.org Signed-off-by: Jonathan Corbet --- diff --git a/Documentation/trace/postprocess/decode_msr.py b/Documentation/trace/postprocess/decode_msr.py index aa9cc7abd5c2b..f5609b16f5898 100644 --- a/Documentation/trace/postprocess/decode_msr.py +++ b/Documentation/trace/postprocess/decode_msr.py @@ -32,6 +32,6 @@ for j in sys.stdin: break if r: j = j.replace(" " + m.group(2), " " + r + "(" + m.group(2) + ")") - print j, + print(j)