[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <829b122da52482707b783dc3d93d3ff0179cb0ca.camel@perches.com>
Date: Sun, 12 Feb 2023 13:17:45 -0800
From: Joe Perches <joe@...ches.com>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: Krzysztof Kozlowski <krzk@...nel.org>,
linux-kernel@...r.kernel.org, Shawn Guo <shawnguo@...nel.org>
Subject: [PATCH RESEND] get_maintainer: add email addresses from dts files
From: Shawn Guo <shawnguo@...nel.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@...ches.com>
Signed-off-by: Shawn Guo <shawnguo@...nel.org>
Reviewed-by: Krzysztof Kozlowski <krzk@...nel.org>
Acked-by: Joe Perches <joe@...ches.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> };
Powered by blists - more mailing lists