archive mirror
 help / color / mirror / Atom feed
From: Shawn Guo <>
To: Joe Perches <>
Cc:, Shawn Guo <>
Subject: [PATCH] get_maintainer: add email addresses from dts files
Date: Sun, 30 Aug 2020 20:29:22 +0800	[thread overview]
Message-ID: <> (raw)

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

Suggested-by: Joe Perches <>
Signed-off-by: Shawn Guo <>
 scripts/ | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/ b/scripts/
index 484d2fbf5921..b8e104028359 100755
--- a/scripts/
+++ b/scripts/
@@ -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> };

             reply	other threads:[~2020-08-30 12:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-30 12:29 Shawn Guo [this message]
2020-09-30 10:54 ` [PATCH] get_maintainer: add email addresses from dts files Krzysztof Kozlowski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).