Message ID | 829b122da52482707b783dc3d93d3ff0179cb0ca.camel@perches.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp2063884wrn; Sun, 12 Feb 2023 14:00:52 -0800 (PST) X-Google-Smtp-Source: AK7set+gdZ3+a5M9kVyZqAaA/XM9w4B6xl5GCUxFBrOCx3GFEMpec/D+WlPWpLYJowQuMzoDkobP X-Received: by 2002:a17:906:39d8:b0:87e:a34b:9e2b with SMTP id i24-20020a17090639d800b0087ea34b9e2bmr20576434eje.28.1676239252419; Sun, 12 Feb 2023 14:00:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676239252; cv=none; d=google.com; s=arc-20160816; b=V1FyD1+MfYA8/PtZdGPD0HKYWc9Vu8WZGMNPr+ntnEbx7vsCfUS/rkJiksjK3zkgzD abGUXtLRv/U4nJmurbbn5xFS5bNxErbefDblN32SWpYuhtrUEySgKhoe2iJyDRoY0a49 zrd/hRelEPRy1o/wE1P4J1pJppa8taJO9TECtqFSPoZOL/ZDeaZlZNjDFECiOP8LsxEY SMYXL+3ASgJLSHObRlk/Z2wrDP9aIVTPCcHLqgCSacPDn0aogSQJRNAyohEPpt17FlhV VbzvtqV9/2EcNzQNfCLUGYFaFR/vnLbLEZmqo4OG36GvqqSF36f7P6hT9/YpimQkgTTp 9Bvw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:date:cc:to:from:subject:message-id; bh=tDMRPApC9gMxiGDuZgIEVhi5nMHer2m++oyRMAUJIWc=; b=cx8Z6E9rT7n6TWBkKTSNEtZ8aYPdA3nSxXu58Znwy8dXGDO1cYwFRYkTriH2eRaRMu k2GEBNmD+WLYkcq0cC07TntnOU9JpT/PgmdHy0M7Yvk+Sh1f8VX4/YTG8hmMEFusGBeB NNomR7nFo2HpthaEN72ocWQGk246OI1cbSMg0sRKdKdrvB/IdMQOEKQSKwFwoPP7xvhx 1jpP4GlI3Hj9rlKV36UsJ/f5EaQuVmmbarwWe3d3rPwXBPESru+sT6iDZ1/gquxqo8Jw eF/EM6qBhIbFyxvxD9usqg5wETCntH1/CeQne1mzovomouStYsgiQ43FOaumq5T1Jk2c VPvw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n23-20020a056402515700b004acbe0c6ffbsi3756638edd.482.2023.02.12.14.00.29; Sun, 12 Feb 2023 14:00:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229786AbjBLVR4 convert rfc822-to-8bit (ORCPT <rfc822;tebrre53rla2o@gmail.com> + 99 others); Sun, 12 Feb 2023 16:17:56 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59186 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229760AbjBLVRv (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Sun, 12 Feb 2023 16:17:51 -0500 Received: from relay.hostedemail.com (smtprelay0013.hostedemail.com [216.40.44.13]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DF6C72696 for <linux-kernel@vger.kernel.org>; Sun, 12 Feb 2023 13:17:49 -0800 (PST) Received: from omf16.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay05.hostedemail.com (Postfix) with ESMTP id 927FB405B3; Sun, 12 Feb 2023 21:17:48 +0000 (UTC) Received: from [HIDDEN] (Authenticated sender: joe@perches.com) by omf16.hostedemail.com (Postfix) with ESMTPA id C14942000E; Sun, 12 Feb 2023 21:17:46 +0000 (UTC) Message-ID: <829b122da52482707b783dc3d93d3ff0179cb0ca.camel@perches.com> Subject: [PATCH RESEND] get_maintainer: add email addresses from dts files From: Joe Perches <joe@perches.com> To: Andrew Morton <akpm@linux-foundation.org> Cc: Krzysztof Kozlowski <krzk@kernel.org>, linux-kernel@vger.kernel.org, Shawn Guo <shawnguo@kernel.org> Date: Sun, 12 Feb 2023 13:17:45 -0800 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8BIT User-Agent: Evolution 3.44.4 (3.44.4-2.fc36) MIME-Version: 1.0 X-Rspamd-Queue-Id: C14942000E X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00,FORGED_SPF_HELO, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, SPF_NONE,UNPARSEABLE_RELAY autolearn=no autolearn_force=no version=3.4.6 X-Stat-Signature: u7fgahk73beu94mu9qfs5tu3k9n9paen X-Rspamd-Server: rspamout05 X-Session-Marker: 6A6F6540706572636865732E636F6D X-Session-ID: U2FsdGVkX1++9x1c4yUEWrdIhxX5R5WnGZH5NhUyhrg= X-HE-Tag: 1676236666-159279 X-HE-Meta: U2FsdGVkX1+Zmkeei4OmzFuNjbpRUUeOAtZL5jouiBz0Z9rjO/+vLGVaDkZr4woVoF+vek9sDPaYASfvg4KfdA== X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1757664250348885655?= X-GMAIL-MSGID: =?utf-8?q?1757664250348885655?= |
Series |
[RESEND] get_maintainer: add email addresses from dts files
|
|
Commit Message
Joe Perches
Feb. 12, 2023, 9:17 p.m. UTC
From: Shawn Guo <shawnguo@kernel.org> MAINTAINER file will get bloated quickly if individual section entry is created for each .dts/.dtsi file. Add the email address from dts files to get_maintainer output for saving unnecessary patching on MAINTAINER file. Suggested-by: Joe Perches <joe@perches.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org> Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org> Acked-by: Joe Perches <joe@perches.com> --- Hey Andrew. This was originally sent a year and a half ago. Link: https://lore.kernel.org/all/20210809080204.8381-1-shawnguo@kernel.org/ Please pick this up. Thanks. scripts/get_maintainer.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Comments
On Sun, Feb 12, 2023 at 01:17:45PM -0800, Joe Perches wrote: > From: Shawn Guo <shawnguo@kernel.org> > > MAINTAINER file will get bloated quickly if individual section entry > is created for each .dts/.dtsi file. Add the email address from dts > files to get_maintainer output for saving unnecessary patching on > MAINTAINER file. > > Suggested-by: Joe Perches <joe@perches.com> > Signed-off-by: Shawn Guo <shawnguo@kernel.org> > Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org> > Acked-by: Joe Perches <joe@perches.com> > --- > > Hey Andrew. This was originally sent a year and a half ago. > > Link: https://lore.kernel.org/all/20210809080204.8381-1-shawnguo@kernel.org/ > > Please pick this up. Thanks. > > scripts/get_maintainer.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/scripts/get_maintainer.pl b/scripts/get_maintainer.pl > index 2075db0c08b8..15aa8f947f4b 100755 > --- a/scripts/get_maintainer.pl > +++ b/scripts/get_maintainer.pl > @@ -436,7 +436,7 @@ sub maintainers_in_file { > > return if ($file =~ m@\bMAINTAINERS$@); > > - if (-f $file && ($email_file_emails || $file =~ /\.yaml$/)) { > + if (-f $file && ($email_file_emails || $file =~ /\.(?:yaml|dtsi?)$/)) { > open(my $f, '<', $file) > or die "$P: Can't open $file: $!\n"; > my $text = do { local($/) ; <$f> }; > This seems to have not been picked up, and would be useful for the tool to have both for the kernel itself and other projects which also use it and MAINTAINERS files. Can this please be picked up? Thanks!
On Sat, 28 Oct 2023 13:46:56 -0400 Tom Rini <trini@konsulko.com> wrote: > > - if (-f $file && ($email_file_emails || $file =~ /\.yaml$/)) { > > + if (-f $file && ($email_file_emails || $file =~ /\.(?:yaml|dtsi?)$/)) { > > open(my $f, '<', $file) > > or die "$P: Can't open $file: $!\n"; > > my $text = do { local($/) ; <$f> }; > > > > This seems to have not been picked up, and would be useful for the tool > to have both for the kernel itself and other projects which also use it > and MAINTAINERS files. Can this please be picked up? Thanks! I'm not finding the original in my archives. Can we have a resend please?
diff --git a/scripts/get_maintainer.pl b/scripts/get_maintainer.pl index 2075db0c08b8..15aa8f947f4b 100755 --- a/scripts/get_maintainer.pl +++ b/scripts/get_maintainer.pl @@ -436,7 +436,7 @@ sub maintainers_in_file { return if ($file =~ m@\bMAINTAINERS$@); - if (-f $file && ($email_file_emails || $file =~ /\.yaml$/)) { + if (-f $file && ($email_file_emails || $file =~ /\.(?:yaml|dtsi?)$/)) { open(my $f, '<', $file) or die "$P: Can't open $file: $!\n"; my $text = do { local($/) ; <$f> };