From: Greg Kroah-Hartman Date: Mon, 31 May 2021 11:41:28 +0000 (+0200) Subject: 5.10-stable patches X-Git-Tag: v4.4.271~23 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=969c1d5e54dca8b224423e821fcb560fd71cd32f;p=thirdparty%2Fkernel%2Fstable-queue.git 5.10-stable patches added patches: scripts-clang-tools-switch-explicitly-to-python-3.patch --- diff --git a/queue-5.10/scripts-clang-tools-switch-explicitly-to-python-3.patch b/queue-5.10/scripts-clang-tools-switch-explicitly-to-python-3.patch new file mode 100644 index 00000000000..25797118a47 --- /dev/null +++ b/queue-5.10/scripts-clang-tools-switch-explicitly-to-python-3.patch @@ -0,0 +1,37 @@ +From 074075aea2ff72dade5231b4ee9f2ab9a055f1ec Mon Sep 17 00:00:00 2001 +From: Masahiro Yamada +Date: Tue, 2 Feb 2021 15:06:04 +0900 +Subject: scripts/clang-tools: switch explicitly to Python 3 + +From: Masahiro Yamada + +commit 074075aea2ff72dade5231b4ee9f2ab9a055f1ec upstream. + +For the same reason as commit 51839e29cb59 ("scripts: switch explicitly +to Python 3"), switch some more scripts, which I tested and confirmed +working on Python 3. + +Signed-off-by: Masahiro Yamada +Acked-by: Nathan Chancellor +Signed-off-by: Greg Kroah-Hartman +--- + scripts/clang-tools/gen_compile_commands.py | 2 +- + scripts/clang-tools/run-clang-tools.py | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +--- a/scripts/clang-tools/gen_compile_commands.py ++++ b/scripts/clang-tools/gen_compile_commands.py +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python3 + # SPDX-License-Identifier: GPL-2.0 + # + # Copyright (C) Google LLC, 2018 +--- a/scripts/clang-tools/run-clang-tools.py ++++ b/scripts/clang-tools/run-clang-tools.py +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python3 + # SPDX-License-Identifier: GPL-2.0 + # + # Copyright (C) Google LLC, 2020 diff --git a/queue-5.10/series b/queue-5.10/series index 3f1a1be7dda..3d8f66732d2 100644 --- a/queue-5.10/series +++ b/queue-5.10/series @@ -247,3 +247,4 @@ bpftool-add-sock_release-help-info-for-cgroup-attach-prog-load-command.patch sunrpc-more-fixes-for-backlog-congestion.patch revert-revert-alsa-usx2y-fix-potential-null-pointer-dereference.patch net-hso-bail-out-on-interrupt-urb-allocation-failure.patch +scripts-clang-tools-switch-explicitly-to-python-3.patch