Re: [PATCH 3/3] MAINTAINERS: Add Bruno Thomsen as reviewer of Kamstrup DTS

From: Joe Perches
Date: Mon Jul 13 2020 - 03:26:37 EST


On Mon, 2020-07-13 at 15:13 +0800, Shawn Guo wrote:
> On Sun, Jul 12, 2020 at 10:22:50PM -0700, Joe Perches wrote:
[]
> > diff --git 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?)$/)) {
>
> It should cover .dts file too?

It does as dtsi? means the i is optional.