Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp1647256rdg; Sat, 14 Oct 2023 10:28:51 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFf1q7r39NEDn/ScwZZfYFn4KkPE3Hoz5Y9F7cvPFbAO8d4Dtd1X+eGEn8mPuXdyizt01gZ X-Received: by 2002:a05:6808:1b0f:b0:3ad:ffa4:dfd0 with SMTP id bx15-20020a0568081b0f00b003adffa4dfd0mr42499174oib.47.1697304531056; Sat, 14 Oct 2023 10:28:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697304531; cv=none; d=google.com; s=arc-20160816; b=zZmi39Du82hB6nFJ6rCOFPCKy6uJtYLqsjgRQF8ho2Ugqy+8D4u7jZyx8W+y50bo1Q GDnSS7tlJj3lml5+KplhDyhi00sno36HYREcQvZNey2V+rPa35Ov8jvM43VQ1iRWX17i p/HUs9YTJIotkt6L9vVfbEM89tGi3/9FBwHplOxMo7uVACDp8y6aYpwdpzCMUUXibDL4 or9XKA+zgBsZJ5HLX8RyKwlsNj8jnzwx+btJJijlp06E6SAqUH6N1kYQH/qtjI5iDBAO oq2+jMQmtvqJCmktLn2LfUXiVv4sVKXp99XdepfCcgCUfIzhhdfUhPI8hW1ifO634tA5 D9vw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id; bh=mdR/Kdmu+Ep2DP64RVUpVwk1WUnyfldtC21v8o/Amgw=; fh=iDJtdeu2hIIZy94aGfK3Z3HTQ5l08yVbJY9h3z7JRoU=; b=E8hEHy9rZDtSeKzcGWT8EMKjGXk0Ybxk97L1rcvBDNlUsNk7+6qplTnyoWZ83qCDe1 ot8bacQ+150bMJmrdz59XGhZ3uQ15WsVlcfUdbyA+YB6f2MjOOWwijIP/BhRSgjD1C3l S/BMd+nV2TN9TgudTs+MH6cJITWB+aBERH/Rxhw137ltgQsCEeS2rjf/fKDQ7AiHcUVQ Tjd8YO6GYQRfH87PxsLiG6sXqXTEse5pT4J5R2pungTPZOidyZ6GndzEgv2S8R4Y/K81 Q4zr+yYtvS2raKTDI0qvum76piNY2WCKcS87vU1DNfgvv2IglQ/4eJrxCsFaGI1QsznK UFuw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=link.tyut.edu.cn Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id l30-20020a63571e000000b00573fc592e9dsi6866369pgb.848.2023.10.14.10.28.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 14 Oct 2023 10:28:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=link.tyut.edu.cn Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 943298054ED1; Sat, 14 Oct 2023 10:28:48 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233268AbjJNR2h (ORCPT + 99 others); Sat, 14 Oct 2023 13:28:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43792 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233197AbjJNR2g (ORCPT ); Sat, 14 Oct 2023 13:28:36 -0400 X-Greylist: delayed 527 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Sat, 14 Oct 2023 10:28:33 PDT Received: from mail-m6038.netease.com (mail-m6038.netease.com [210.79.60.38]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0AA0BC9 for ; Sat, 14 Oct 2023 10:28:32 -0700 (PDT) Received: from [172.23.111.174] (unknown [120.208.100.128]) by mail-m121145.qiye.163.com (Hmail) with ESMTPA id 68E43800088; Sun, 15 Oct 2023 01:19:00 +0800 (CST) Message-ID: <556752fd-0ae4-45b5-bfb4-5777c8302d48@link.tyut.edu.cn> Date: Sun, 15 Oct 2023 01:19:00 +0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] scripts/show_delta: add __main__ judgement before main code To: Miguel Ojeda Cc: gregkh@linuxfoundation.org, masahiroy@kernel.org, akpm@linux-foundation.org, ndesaulniers@google.com, n.schier@avm.de, ojeda@kernel.org, linux-kernel@vger.kernel.org References: <20231013132832.165768-1-2023002089@link.tyut.edu.cn> Content-Language: en-US From: Hu Haowen <2023002089@link.tyut.edu.cn> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-HM-Spam-Status: e1kfGhgUHx5ZQUpXWQgPGg8OCBgUHx5ZQUlOS1dZFg8aDwILHllBWSg2Ly tZV1koWUFITzdXWS1ZQUlXWQ8JGhUIEh9ZQVkZQkIaVhkfTRpJSkxDTUgaSVUTARMWGhIXJBQOD1 lXWRgSC1lBWUpJS1VJS0NVSktLVUpJQ1lXWRYaDxIVHRRZQVlPS0hVSkpLSEpDVUpLS1VLWQY+ X-HM-Tid: 0a8b2f32cea5b03akuuu68e43800088 X-HM-MType: 10 X-HM-Sender-Digest: e1kMHhlZQR0aFwgeV1kSHx4VD1lBWUc6NBA6ITo5Pjw0DA4aVj85Thke KjBPCwpVSlVKTUJMSEtIQk9KSUhDVTMWGhIXVUlLSUhLS0lLQ0I7FxIVEFUPAg4PVR4fDlUYFUVZ V1kSC1lBWUpJS1VJS0NVSktLVUpJQ1lXWQgBWUFJTUpJNwY+ X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Sat, 14 Oct 2023 10:28:48 -0700 (PDT) On 2023/10/14 18:15, Miguel Ojeda wrote: > On Fri, Oct 13, 2023 at 3:29 PM Hu Haowen <2023002089@link.tyut.edu.cn> wrote: >> When doing Python programming it is a nice convention to insert the if >> statement `if __name__ == "__main__":` before any main code that does >> actual functionalities to ensure the code will be executed only as a >> script rather than as an imported module. Hence attach the missing >> judgement to show_delta. >> >> Signed-off-by: Hu Haowen <2023002089@link.tyut.edu.cn> > I am not sure why I was Cc'd, but the patch looks fine :) Sorry for troubling you. I have just executed the get_maintainer script to get the maintainer for the file I'm making the patch toward, with the result that this file is not maintained by anyone. Consequently I immediately ran again on the scripts directory, and obtained adequate information on major commiters of scripts, adding them to the Cc list. After all, it's nice of you to have ensured the quality of my patch. :) > Reviewed-by: Miguel Ojeda > > Cheers, > Miguel >