Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp340315pxk; Sun, 30 Aug 2020 05:32:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwe7w72JIj8pHi7f8lt+07qGt/xrpKeRcziC5W3qNv6A6BJVMcL1lF+pnDK61RMbWca6Vch X-Received: by 2002:a05:6402:1151:: with SMTP id g17mr7287185edw.227.1598790744186; Sun, 30 Aug 2020 05:32:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598790744; cv=none; d=google.com; s=arc-20160816; b=iz+83dkZE7BaypegY3UlCaz0KgiebDX+rV2hQBetkTPcAGOfsjKcgDMisY/GcP9e6j lXkaSVx6nsqT79zb1BPn26ZbCee7X04aK74RECLiM/9rATsGYnmhN0RRk9CS3hNVuAxk sdUKg6BXKbTkTd0/PKIyfW1DPPRMpJnGGZjdH3jD/YzQ2PP1mv63liq1bu3PLKtccEYU fa2PJr0JmZbGZMIHtmDwLK/Ej+kjkdxXU7OQmSnqo1z4ivrJ3D38vp5Z/Z7UxN5ZCG+c sWF3Cqsjz8lpYgQE6Cz1/DzGX/ZA1RkUD1UkDfbPgO92si5XYt7s2ocwi9Q7l5OdpxSz dzNQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=5ORFh0j3nunvK0jFnKEOHL1kH23L0cA0w5PI8sBRT/0=; b=v5nTSwV3LWd9yH+Nw6HDcaJc4nsAXgWttb2UBuB6H7EUsYWf0nVzFdYsf14/OARaOS 76+AA6rTNm3PDncJiK9MLUeNXDtaZc+0LbOaMw7s0cmGBOkQuMMKAONfkxaP2E71Jri+ l9bjPR8Ujwjo89sMAo8d4CdNow7m553+ERY7873dLlP42fsBFe2VSJbwj1WFnKqBUK9O uRFWlUiayr5wwgz1cOQKNGl494aebDAnI4x69ejBIF7OfyQg/8qKe8SZ/sjZL7+INzlt z2rw3o1wpOYupPg7dpl5Hg/sO0Qzt58mlxUO0ynAqXaL3c6hgGXmt1qyT6YDu2JcSf7N zpUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=STqM98b8; 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 w5si3408965eja.645.2020.08.30.05.32.01; Sun, 30 Aug 2020 05:32:24 -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=default header.b=STqM98b8; 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 S1728827AbgH3M3g (ORCPT + 99 others); Sun, 30 Aug 2020 08:29:36 -0400 Received: from mail.kernel.org ([198.145.29.99]:58060 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728609AbgH3M3e (ORCPT ); Sun, 30 Aug 2020 08:29:34 -0400 Received: from localhost.localdomain (80.251.214.228.16clouds.com [80.251.214.228]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C773F214D8; Sun, 30 Aug 2020 12:29:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1598790573; bh=wHGR+e2YQ6p1W88wyu41jeFfclK5kDp8flK1giHFHYg=; h=From:To:Cc:Subject:Date:From; b=STqM98b801VPdgcgmaoo3AOrK6HLCEwWehddZA40KegL/d+QnNLECkwNfuYRGNO0i IdvYgpRc8peun4GhLZiE0LNhmWzKqmJaJm5QmlPzvSUE//OJtOCttpqO/D/MK2enG/ Yzc4PrJ9Di9QEI3gFq9WnQ6/FRlXrgoXiwLGmhUc= From: Shawn Guo To: Joe Perches Cc: linux-kernel@vger.kernel.org, Shawn Guo Subject: [PATCH] get_maintainer: add email addresses from dts files Date: Sun, 30 Aug 2020 20:29:22 +0800 Message-Id: <20200830122922.3884-1-shawnguo@kernel.org> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org 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 --- 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 484d2fbf5921..b8e104028359 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