From: Greg Kroah-Hartman Date: Mon, 19 Dec 2022 12:20:52 +0000 (+0100) Subject: 4.14-stable patches X-Git-Tag: v5.10.161~39 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5c5a889a4cb34ca64dbb75af8e200fe4ebba05fd;p=thirdparty%2Fkernel%2Fstable-queue.git 4.14-stable patches added patches: perf-script-python-remove-explicit-shebang-from-tests-attr.c.patch --- diff --git a/queue-4.14/perf-script-python-remove-explicit-shebang-from-tests-attr.c.patch b/queue-4.14/perf-script-python-remove-explicit-shebang-from-tests-attr.c.patch new file mode 100644 index 00000000000..1d8abaec9f6 --- /dev/null +++ b/queue-4.14/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: 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/env python + # SPDX-License-Identifier: GPL-2.0 + + import os diff --git a/queue-4.14/series b/queue-4.14/series index 4c2cd8f65e9..c83ae0dff81 100644 --- a/queue-4.14/series +++ b/queue-4.14/series @@ -8,3 +8,4 @@ asoc-ops-check-bounds-for-second-channel-in-snd_soc_.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