Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp2547371pxt; Mon, 9 Aug 2021 03:17:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzI32i5ovU8JOBIdiavjF9QwFkvkx4GlfMID/LSA3nABhzeVKsyLV3fJNt5SpWJSmK2ySj1 X-Received: by 2002:aa7:d404:: with SMTP id z4mr1145900edq.255.1628504270295; Mon, 09 Aug 2021 03:17:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628504270; cv=none; d=google.com; s=arc-20160816; b=I5vEFgzlroCDx6EI3Pl2IWWrwBsPxJJowRkNGoKpslJ9MTYnsqkJbu9wpBS09DDGyp maKVMUwhNMNFgf0jDrm3KCheiEZzMpeQY0rgpakV7/gIF8oU4BNIU4RexuIt6b26REYS yGM0ziUWc2wqezKS4SesQ8Z06TUyPPS5O8hXXVUK3sfAo+sitOb5jUVEG7CpnaYo8VT1 J3v7ehBcyuMNft11QMKBo7fW6gpAYmnJBVT+GQxyNkD1kVPNiRbRHpflZsVuli/iDKdB WCyNa8jBjPVUeu3GTaWEYyeVk0GqleJAO5vy8eqSNbhAYJ86Iv74zWHP/CCvYjg0P5HW TI7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from :dkim-signature; bh=WXC87fGy0lFwmoBWMQHdQkp1wuBDpqVvLA9MMVzgkNk=; b=JRoB0+rDoG2493kSSkn6FIQhqSdOFEU399iWhBXnrg5KkkGq+2zjfviFn6gPMaal4X QRIxD/j/5UYW7XHnlJ8oHcvFVNScDfn98vrdr3MtCfhcucSzdFeA+8UQmIjh+yaukZzb mftSMpr2R0tISdFjQ6vuJiMeFz9pdqtjh2UulgFqQGLiIeME1yR3mAmLlgQA9PbGlzt3 bX/alrZjJ3vNB7Kh2kbDISN5uZpcMzuRFGg/+1ypZ4p9mBJX6xFAt6WV9O0cU1s/FS8M A25R59MUOmtGY47AC3p4q3pCkEwDIju64edEKpIqzsL08lW+i9SQwbpP6xAhfbuBm8PS tAkg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=jzbvk3aY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l4si700737ejr.744.2021.08.09.03.17.26; Mon, 09 Aug 2021 03:17:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=jzbvk3aY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233752AbhHIICw (ORCPT + 99 others); Mon, 9 Aug 2021 04:02:52 -0400 Received: from mail.kernel.org ([198.145.29.99]:49746 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233706AbhHIICq (ORCPT ); Mon, 9 Aug 2021 04:02:46 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id D0D2060E93; Mon, 9 Aug 2021 08:02:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1628496130; bh=MVV30goOOfSt5BwOYFBNw0gw59D3pYD277pFi+TFBCg=; h=From:To:Cc:Subject:Date:From; b=jzbvk3aYuaIDwlwxC+S7/YP74FnO1+VH2sb6NjhIYU6QyxHBIaVTUxxq6mzNcHtwG WcuN5WtIjRPaH4ne8UYeWQxW9jOJl4OQMTIFIhuRc/DCQXHkrl0+ZMVJzrirru6Psl dnaKhFSyMoVizH2vcln97TsTeHgv85bOe2C7SyLLS9TOhh9bi2zmtC/KPE8y8bttxj O9SFnUS0nlXDKBNQH5rzriemyQ1pr6ezbnrfJ/XuBzZsZDVEmgNkdGmkifNldSxsyq W+6Lc2rFrVv4v/qRTMgoOQrWa4g0RobkppUsy8O57ABRTr0aPKn+jcRbfpMdlUZXrp YIBu+iG6uTbFQ== From: Shawn Guo To: Joe Perches Cc: Krzysztof Kozlowski , linux-kernel@vger.kernel.org, Shawn Guo Subject: [PATCH RESEND] get_maintainer: add email addresses from dts files Date: Mon, 9 Aug 2021 16:02:04 +0800 Message-Id: <20210809080204.8381-1-shawnguo@kernel.org> X-Mailer: git-send-email 2.17.1 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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 Signed-off-by: Shawn Guo Reviewed-by: Krzysztof Kozlowski --- 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