From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8F9A226738C; Mon, 18 May 2026 23:55:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779148512; cv=none; b=MQVbrDzB5sYcI/wDCwbOzk2+CmHSnbqNbbhNw0X1hunjU40DZGqAFCjNgvppz5Rq+5cz4IzKiRgIfC3BwmSSUFgkgSvinDFI2BQW6ji3g7pVJuvPiNslyclSqQAy/TijJrYQJEsAo/UHNBG7I+5YqtMvyw7cM5l3AdHfRDn2Jv0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779148512; c=relaxed/simple; bh=Oq+gnuMQRWjKoACeXqW8Y4zLGstl6ODlk5GgQd7tCZ8=; h=Message-ID:Date:MIME-Version:Subject:To:References:From: In-Reply-To:Content-Type; b=dQoyK2eeDoUkaAQ8iWAzQrtNIe88OGhXX9594AwnWIhkYxZIwEeuFv3VpGpe8j6NzFW8l1E8Sk3R/3MiZbI3W6AOvwSXcbj/b+OrQMutzJ6pXcmqsc0Xsp2YDaNAPI2VJX/N2gzRbail5UMwLTmefCCOt39pTxUqEvIwB6Zd7gk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=SR7d5+u1; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="SR7d5+u1" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E81D7C2BCB7; Mon, 18 May 2026 23:55:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1779148512; bh=Oq+gnuMQRWjKoACeXqW8Y4zLGstl6ODlk5GgQd7tCZ8=; h=Date:Subject:To:References:From:In-Reply-To:From; b=SR7d5+u17pNQYr8ELcR1xR6JkyTOzTM7GiEFnfi8yqYX6yxpe+CXZdjyY770E8O5q 3h1r06qdamKnBL5bVPZYGdpEbdDkH47F+T88CHYxX3Y+iNTmdg7jZdBPVebyI6RkZk gNR5jWYEmalMXgdnSOEXSwBKOoyHVUUwPculI94XbhrvNK3/AUMNKGVP3vlfwpFZhr Wg8YsIC0Qa6lB+Uy4DD84inuaBjXqED4JVElgKDBkc4MMd7TSpyCzUwBgZnF9cDb4k SRCQaJmL4M1LiMW5hsE55y5GtoZgnVIs5133RoHmzam32zoMsljjxPSWRY3BHwB3/g TUvzofbsc8PrA== Message-ID: <097fe9ea-bd19-4aec-a854-f00b050603a6@kernel.org> Date: Mon, 18 May 2026 18:55:08 -0500 Precedence: bulk X-Mailing-List: linux-crypto@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] treewide: replace /usr/bin/python3 shebangs with env python3 Content-Language: en-US To: Oli R , Rob Clark , Dmitry Baryshkov , Abhinav Kumar , Jessica Zhang , Sean Paul , Marijn Suijten , David Airlie , Simona Vetter , Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Namhyung Kim , Mark Rutland , Alexander Shishkin , Jiri Olsa , Ian Rogers , Adrian Hunter , James Clark , Shuah Khan , Mathieu Desnoyers , "Paul E. McKenney" , Boqun Feng , "open list:DRM DRIVER for Qualcomm display hardware" , "open list:DRM DRIVER for Qualcomm display hardware" , "open list:DRM DRIVER for Qualcomm display hardware" , open list , "open list:AMD CRYPTOGRAPHIC COPROCESSOR (CCP) DRIVER - DB..." , "open list:PERFORMANCE EVENTS SUBSYSTEM" , "open list:KERNEL SELFTEST FRAMEWORK" References: <20260515180806.246914-1-sigmatwojastara@gmail.com> From: Mario Limonciello In-Reply-To: <20260515180806.246914-1-sigmatwojastara@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 5/15/26 13:07, Oli R wrote: > Use /usr/bin/env python3 instead of hardcoded interpreter paths > to improve portability across environments where python3 is not > installed in /usr/bin. > > No functional changes intended. > > Signed-off-by: Oli R Reviewed-by: Mario Limonciello (AMD) --- > drivers/gpu/drm/msm/registers/gen_header.py | 2 +- > scripts/macro_checker.py | 2 +- > tools/crypto/ccp/dbc.py | 2 +- > tools/crypto/ccp/dbc_cli.py | 2 +- > tools/crypto/ccp/test_dbc.py | 2 +- > tools/perf/tests/shell/lib/perf_json_output_lint.py | 2 +- > .../selftests/devices/probe/test_discoverable_devices.py | 2 +- > tools/testing/selftests/rseq/rseq-slice-hist.py | 2 +- > 8 files changed, 8 insertions(+), 8 deletions(-) > > diff --git a/drivers/gpu/drm/msm/registers/gen_header.py b/drivers/gpu/drm/msm/registers/gen_header.py > index 2acad951f1e2..10316f517a7d 100644 > --- a/drivers/gpu/drm/msm/registers/gen_header.py > +++ b/drivers/gpu/drm/msm/registers/gen_header.py > @@ -1,4 +1,4 @@ > -#!/usr/bin/python3 > +#!/usr/bin/env python3 > # > # Copyright © 2019-2024 Google, Inc. > # > diff --git a/scripts/macro_checker.py b/scripts/macro_checker.py > index ba550982e98f..7dbb114a57d5 100755 > --- a/scripts/macro_checker.py > +++ b/scripts/macro_checker.py > @@ -1,4 +1,4 @@ > -#!/usr/bin/python3 > +#!/usr/bin/env python3 > # SPDX-License-Identifier: GPL-2.0 > # Author: Julian Sun > > diff --git a/tools/crypto/ccp/dbc.py b/tools/crypto/ccp/dbc.py > index 2b91415b1940..cd56a63aa8ce 100644 > --- a/tools/crypto/ccp/dbc.py > +++ b/tools/crypto/ccp/dbc.py > @@ -1,4 +1,4 @@ > -#!/usr/bin/python3 > +#!/usr/bin/env python3 > # SPDX-License-Identifier: GPL-2.0 > > import ctypes > diff --git a/tools/crypto/ccp/dbc_cli.py b/tools/crypto/ccp/dbc_cli.py > index bf52233fd038..bfe34f01e619 100755 > --- a/tools/crypto/ccp/dbc_cli.py > +++ b/tools/crypto/ccp/dbc_cli.py > @@ -1,4 +1,4 @@ > -#!/usr/bin/python3 > +#!/usr/bin/env python3 > # SPDX-License-Identifier: GPL-2.0 > import argparse > import binascii > diff --git a/tools/crypto/ccp/test_dbc.py b/tools/crypto/ccp/test_dbc.py > index bb0e671be96d..0ee3da6c6be7 100755 > --- a/tools/crypto/ccp/test_dbc.py > +++ b/tools/crypto/ccp/test_dbc.py > @@ -1,4 +1,4 @@ > -#!/usr/bin/python3 > +#!/usr/bin/env python3 > # SPDX-License-Identifier: GPL-2.0 > import unittest > import os > diff --git a/tools/perf/tests/shell/lib/perf_json_output_lint.py b/tools/perf/tests/shell/lib/perf_json_output_lint.py > index dafbde56cc76..dccafd507bb7 100644 > --- a/tools/perf/tests/shell/lib/perf_json_output_lint.py > +++ b/tools/perf/tests/shell/lib/perf_json_output_lint.py > @@ -1,4 +1,4 @@ > -#!/usr/bin/python > +#!/usr/bin/env python3 > # SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) > # Basic sanity check of perf JSON output as specified in the man page. > > diff --git a/tools/testing/selftests/devices/probe/test_discoverable_devices.py b/tools/testing/selftests/devices/probe/test_discoverable_devices.py > index d7a2bb91c807..72a94bbfbc7b 100755 > --- a/tools/testing/selftests/devices/probe/test_discoverable_devices.py > +++ b/tools/testing/selftests/devices/probe/test_discoverable_devices.py > @@ -1,4 +1,4 @@ > -#!/usr/bin/python3 > +#!/usr/bin/env python3 > # SPDX-License-Identifier: GPL-2.0 > # > # Copyright (c) 2023 Collabora Ltd > diff --git a/tools/testing/selftests/rseq/rseq-slice-hist.py b/tools/testing/selftests/rseq/rseq-slice-hist.py > index b7933eeaefb9..2c43b2e2bf0d 100644 > --- a/tools/testing/selftests/rseq/rseq-slice-hist.py > +++ b/tools/testing/selftests/rseq/rseq-slice-hist.py > @@ -1,4 +1,4 @@ > -#!/usr/bin/python3 > +#!/usr/bin/env python3 > > # > # trace-cmd record -e hrtimer_start -e hrtimer_cancel -e hrtimer_expire_entry -- $cmd