get_maintainer: add email addresses from dts files
PATCH RESEND 1/1 get_maintainer: add email addresses from dts files
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 <[email protected]>
Signed-off-by Shawn Guo <[email protected]>
Reviewed-by Krzysztof Kozlowski <[email protected]>
--- scripts/get_maintainer.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/get_maintainer.pl +1 -1
@@ -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> };
Signature · 1 line
2.17.1
Hi Joe,
Quoted 8 lines · Shawn Guo
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_maintaineroutput for saving unnecessary patching on MAINTAINER file.Suggested-by Joe Perches <[email protected]>Signed-off-by Shawn Guo <[email protected]>Reviewed-by Krzysztof Kozlowski <[email protected]>
My understanding is that you will be the one picking this up. Otherwise, please let me know whom I should send this to. Thanks!
Shawn
Quoted 20 lines
--- scripts/get_maintainer.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)scripts/get_maintainer.pl +1
-1@@ -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> };Signature · 1 line
2.17.1