diff options
author | Stephen Warren <swarren@nvidia.com> | 2013-04-29 19:17:23 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-04-29 21:28:14 -0400 |
commit | bbbe96ed899e8ebde1a12d28f10461eb8bef1074 (patch) | |
tree | 1e69b1ca09c7996aaeb62ef2cd7b10d654dcda87 /scripts/get_maintainer.pl | |
parent | 0a285317daf785424c884d1a7548705c60bc42cc (diff) |
get_maintainer: use filename-only regex match for Tegra
Create a new N: entry type in MAINTAINERS which performs a regex match
against filenames; either those extracted from patch +++ or --- lines,
or those specified on the command-line using the -f option.
This provides the same benefits as using a K: regex option to match a
set of filenames (see commit eb90d0855b75 "get_maintainer: allow
keywords to match filenames"), but without the disadvantage that
"random" file content, such as comments, will ever match the regex.
Hence, revert most of that commit.
Switch the Tegra entry from using K: to N:
[akpm@linux-foundation.org: fix typo in docs, per Marcin]
Reported-by: Marcin Slusarz <marcin.slusarz@gmail.com>
Suggested-by: Joe Perches <joe@perches.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'scripts/get_maintainer.pl')
-rwxr-xr-x | scripts/get_maintainer.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/get_maintainer.pl b/scripts/get_maintainer.pl index ce4cc837b748..5e4fb144a04f 100755 --- a/scripts/get_maintainer.pl +++ b/scripts/get_maintainer.pl | |||
@@ -611,7 +611,7 @@ sub get_maintainers { | |||
611 | $hash{$tvi} = $value_pd; | 611 | $hash{$tvi} = $value_pd; |
612 | } | 612 | } |
613 | } | 613 | } |
614 | } elsif ($type eq 'K') { | 614 | } elsif ($type eq 'N') { |
615 | if ($file =~ m/$value/x) { | 615 | if ($file =~ m/$value/x) { |
616 | $hash{$tvi} = 0; | 616 | $hash{$tvi} = 0; |
617 | } | 617 | } |