From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2DE03C4338F for ; Mon, 9 Aug 2021 08:10:41 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 130076105A for ; Mon, 9 Aug 2021 08:10:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233818AbhHIIK7 (ORCPT ); Mon, 9 Aug 2021 04:10:59 -0400 Received: from mail.kernel.org ([198.145.29.99]:54416 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233588AbhHIIK7 (ORCPT ); Mon, 9 Aug 2021 04:10:59 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 6FD8B6105A; Mon, 9 Aug 2021 08:10:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1628496639; bh=/d6xkvPLH1Toz4dcO58TgPpbVKD4jmYI6JghBDyGdyk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=g63MYKvq73ZCk5irzCvPl5WwQscHjyzoNXRo+mt1yM/U+PV2VtnphyZmIbFstxNmC cykfwZcRkzD1He3OEmxzrpozsN+LOl5b2DAVw5TerUC5ekOyg3gjhzAMqiWpds6R+b qzPBRtuBTZDA+dO1v4fcjDTs+lKQO2/y4hijGrWQi4EJnk5ZD9/XAvEhT0HNo5fyMQ I6f0+f1+C2c9N57OH6xnvkk+rZYfDxs9DtYbDcTVNRcDqHhXrWuKgmJoqxXj8/m0zQ dDqqF2SBaKK51wMZWFnkESrtqYX4yDnDHSOPBJB6hIEqVjRvA3XIsEqDc9Guj8Q0d6 09g1CwjwaTODQ== Date: Mon, 9 Aug 2021 16:10:34 +0800 From: Shawn Guo To: Joe Perches Cc: Krzysztof Kozlowski , linux-kernel@vger.kernel.org Subject: Re: [PATCH RESEND] get_maintainer: add email addresses from dts files Message-ID: <20210809081033.GQ30984@dragon> References: <20210809080204.8381-1-shawnguo@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210809080204.8381-1-shawnguo@kernel.org> User-Agent: Mutt/1.9.4 (2018-02-28) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > Signed-off-by: Shawn Guo > Reviewed-by: Krzysztof Kozlowski 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 >