Received: by 2002:a89:413:0:b0:1fd:dba5:e537 with SMTP id m19csp123492lqs; Thu, 13 Jun 2024 05:59:04 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXPMxUcEauZwn6w+RP6EoF9wb0ypMOHBIPZ0DPK9yEbgvhnPFnNm4kXfsV6L2VBfg8PvzuKAO48XKnsge1OrBWslRiUizLSuCH/mE+d7A== X-Google-Smtp-Source: AGHT+IG2AL0ydyMrRoOmY88A7Cknn6nOGA+LSt1+BUgSmEk5H0d9v+Gr3PlNcTjCVfrJTlQaFMho X-Received: by 2002:a05:6358:9394:b0:19f:4d5a:c67c with SMTP id e5c5f4694b2df-19f69d31540mr522573255d.17.1718283543968; Thu, 13 Jun 2024 05:59:03 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718283543; cv=pass; d=google.com; s=arc-20160816; b=J65eI8C/uscRhQvBQtyRKCHhjLstX8JMm/lD8derN5hnfFathoZjUwsyJyKD2E8Wwo ncOsb+5vu4EzkqXAZbb0/V5hfRhOmdSsuZue7B/74j+11iDv8XP7f2b6ZwtNuL5EU4JO q1oo2ftBz6F1D0qshZcKMnbB4hhDgPaodhuxNoasS1TfaIOQl2rIrDnJ7hzpNB8ljnvu UuuvEBj6fEvvrbgOEqsdqS/ae5dYgeRD7sWCPL3WRD41SUmXs1Yn1534dCQVXxdHoiBE fuvo+YzJcOd2Xdh+5UC6G0O5irmSTdNLPP9nfhgo/8Wd1n1/jHFmVv1m6PJOfs2c7AXH XODA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :message-id:date:references:in-reply-to:subject:cc:to:from :dkim-signature:dkim-filter; bh=akvXv+r87NNy8UUX+Qd788OiN5+P3VpuPDd+bJrE1qY=; fh=BOjjJLypTaVL0cdAmEjX9yYSp2BkaqK9wvUn0NJa+Cw=; b=zH+ZLBkKuckPEBpdXyvVd+ukLPTNtw4onxHnAZ/Kls4T4Pu1pY1uAbhpLTxVuNLqy8 v3kxzkVv1vuQWDik1QzKqrIDDgOzr/UYXuDiftMMfnB3iV9IvSFDCGPM6xyZfoWbfgQ7 0sgWFrI8StkaRe70Bc88hWrvxGzoR04xBuWtW+72nwy2mVDzqDrS5PrSG4/Wn1aPYLuk pMftLwmiHSAAAfnCWXv5Kvw6q7Onw5kEAgnJ3A2QFk99EzrurBjQ5rTXPEq70GfxVxr3 hzO9bjR4Ajq0RGazLTlnFE3hpVhFwtKC7qNZeiioEZ0wMugC9CIKvtA5dloAIUqutHe2 sJdA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@lwn.net header.s=20201203 header.b=icV0J7Hq; arc=pass (i=1 spf=pass spfdomain=lwn.net dkim=pass dkdomain=lwn.net dmarc=pass fromdomain=lwn.net); spf=pass (google.com: domain of linux-kernel+bounces-213245-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-213245-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lwn.net Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-6fee558b7b2si1262803a12.679.2024.06.13.05.59.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Jun 2024 05:59:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-213245-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@lwn.net header.s=20201203 header.b=icV0J7Hq; arc=pass (i=1 spf=pass spfdomain=lwn.net dkim=pass dkdomain=lwn.net dmarc=pass fromdomain=lwn.net); spf=pass (google.com: domain of linux-kernel+bounces-213245-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-213245-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lwn.net Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 88D68282C35 for ; Thu, 13 Jun 2024 12:59:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id F3A161428EC; Thu, 13 Jun 2024 12:58:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lwn.net header.i=@lwn.net header.b="icV0J7Hq" Received: from ms.lwn.net (ms.lwn.net [45.79.88.28]) (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 79EDA17FD; Thu, 13 Jun 2024 12:58:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=45.79.88.28 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718283535; cv=none; b=bUcWsa55i5pXPCV5kTty7QNHJmosk89mzofkkRSj/PeOWZcVa2A7FQ8VLlhMB498i9/BV5PkoNSwGOP9qJebnhHIxt2XQSoQdSOYvAdvTunh9J+WEWQGveVcsRZZHkORM6iIdNgs41qcuhlf5bFz746NBdoD28m3okIy3Ar285E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718283535; c=relaxed/simple; bh=tWI3gdk+WrvZLTS8KEyzUHKDurn7010dk0ls5SdUK7Q=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=ivsguES9MHXnD4RE2vw9dgY40BmxeZ1XDLfltf+mmfavL4+gpmgifvbIwcm5HIpCYLvSldgVhz/RUUJVWh6YEl2GGZozbK8Fyv7SGEB97GqokeK6Lvzlw7zx+NuytNJlC9Mlna/vrwAUw/WtY3V2ECAHSSo8wg6wD1LZnh6PHFM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lwn.net; spf=pass smtp.mailfrom=lwn.net; dkim=pass (2048-bit key) header.d=lwn.net header.i=@lwn.net header.b=icV0J7Hq; arc=none smtp.client-ip=45.79.88.28 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lwn.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lwn.net DKIM-Filter: OpenDKIM Filter v2.11.0 ms.lwn.net 527C145E07 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lwn.net; s=20201203; t=1718283532; bh=akvXv+r87NNy8UUX+Qd788OiN5+P3VpuPDd+bJrE1qY=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=icV0J7HqBUbKNB9ZPQy1r8wLbFpLYdo/147BzI0jh/1ruBu6hhciKMM152RaB6VUg axKQPIGX0rKpgJL0uX32FveGZ0A83wHqeCj+iTZq3r/JoTCi0/x7NY4VLPABkN1Cge ds4t+TUNij+VPOYXUMSTKupSM+Ht68qauoxK3ta+68pZO30wDA474Hqwm8abDUbBPL JaEPeaQ3mAlr7hYa6kLWIpDTkumlgwYiAZcUmyzh7NF1PVp7PYpc/OtAA2ILbgvI7z CXQxvCpoSduNU1rk/mGqeYj/qo5LgFe3lwXp3c4bQpMdP9HJHAEpYwFc4qnpixHWhv OJmbTuXr+3dDA== Received: from localhost (unknown [IPv6:2601:280:5e00:625::1fe]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ms.lwn.net (Postfix) with ESMTPSA id 527C145E07; Thu, 13 Jun 2024 12:58:52 +0000 (UTC) From: Jonathan Corbet To: Dongliang Mu , Alex Shi , Yanteng Si Cc: hust-os-kernel-patches@googlegroups.com, linux-doc@vger.kernel.org, Cheng Ziqiu , linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] scripts: add scripts/checktransupdate.py In-Reply-To: <43d7cf37-8f7f-4004-a5d1-15fcc9189016@hust.edu.cn> References: <20240611131723.53515-1-dzm91@hust.edu.cn> <87plslonqu.fsf@trenco.lwn.net> <43d7cf37-8f7f-4004-a5d1-15fcc9189016@hust.edu.cn> Date: Thu, 13 Jun 2024 06:58:51 -0600 Message-ID: <87v82dm22c.fsf@trenco.lwn.net> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain Dongliang Mu writes: > Linux kernel does have coding style for C language. Any reference to > python coding style? > > I can refer to these materials to revise this script. We have never defined a kernel coding style for Python; I've generally just tried to stay as close to the C style as possible. If you are making other changes to the script anyway, you can adjust coding style while you are at it. I would not bother with additional patches just for coding style at this point. Thanks, jon