From: Greg Kroah-Hartman Date: Mon, 19 Dec 2022 12:21:07 +0000 (+0100) Subject: 4.19-stable patches X-Git-Tag: v5.10.161~38 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d4daa5e1afc6f4836337b3fe7eb4751e35bac375;p=thirdparty%2Fkernel%2Fstable-queue.git 4.19-stable patches added patches: perf-script-python-remove-explicit-shebang-from-tests-attr.c.patch --- diff --git a/queue-4.19/perf-script-python-remove-explicit-shebang-from-tests-attr.c.patch b/queue-4.19/perf-script-python-remove-explicit-shebang-from-tests-attr.c.patch new file mode 100644 index 00000000000..d7710b8a96f --- /dev/null +++ b/queue-4.19/perf-script-python-remove-explicit-shebang-from-tests-attr.c.patch @@ -0,0 +1,35 @@ +From d72eadbc1d2866fc047edd4535ffb0298fe240be Mon Sep 17 00:00:00 2001 +From: Tony Jones +Date: Wed, 23 Jan 2019 16:52:27 -0800 +Subject: perf script python: Remove explicit shebang from tests/attr.c + +From: Tony Jones + +commit d72eadbc1d2866fc047edd4535ffb0298fe240be upstream. + +tests/attr.c invokes attr.py via an explicit invocation of Python +($PYTHON) so there is therefore no need for an explicit shebang. + +Also most distros follow pep-0394 which recommends that /usr/bin/python +refer only to v2 and so may not exist on the system (if PYTHON=python3). + +Signed-off-by: Tony Jones +Acked-by: Jiri Olsa +Cc: Jonathan Corbet +Cc: Ravi Bangoria +Cc: Seeteena Thoufeek +Link: http://lkml.kernel.org/r/20190124005229.16146-5-tonyj@suse.de +Signed-off-by: Arnaldo Carvalho de Melo +Signed-off-by: Christophe Leroy +Signed-off-by: Greg Kroah-Hartman +--- + tools/perf/tests/attr.py | 1 - + 1 file changed, 1 deletion(-) + +--- a/tools/perf/tests/attr.py ++++ b/tools/perf/tests/attr.py +@@ -1,4 +1,3 @@ +-#! /usr/bin/python + # SPDX-License-Identifier: GPL-2.0 + + import os diff --git a/queue-4.19/series b/queue-4.19/series index 0690906598c..c1544468687 100644 --- a/queue-4.19/series +++ b/queue-4.19/series @@ -7,3 +7,4 @@ pinctrl-meditatek-startup-with-the-irqs-disabled.patch can-sja1000-fix-size-of-ocr_mode_mask-define.patch can-mcba_usb-fix-termination-command-argument.patch asoc-ops-correct-bounds-check-for-second-channel-on-sx-controls.patch +perf-script-python-remove-explicit-shebang-from-tests-attr.c.patch