[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20210809081033.GQ30984@dragon>
Date: Mon, 9 Aug 2021 16:10:34 +0800
From: Shawn Guo <shawnguo@...nel.org>
To: Joe Perches <joe@...ches.com>
Cc: Krzysztof Kozlowski <krzk@...nel.org>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH RESEND] get_maintainer: add email addresses from dts files
Hi Joe,
On Mon, Aug 09, 2021 at 04:02:04PM +0800, Shawn Guo wrote:
> 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>
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
> ---
> 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> };
> --
> 2.17.1
>
Powered by blists - more mailing lists