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 /MAINTAINERS | |
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 'MAINTAINERS')
-rw-r--r-- | MAINTAINERS | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/MAINTAINERS b/MAINTAINERS index f053dd144005..ed33afb20a51 100644 --- a/MAINTAINERS +++ b/MAINTAINERS | |||
@@ -90,6 +90,9 @@ Descriptions of section entries: | |||
90 | F: drivers/net/* all files in drivers/net, but not below | 90 | F: drivers/net/* all files in drivers/net, but not below |
91 | F: */net/* all files in "any top level directory"/net | 91 | F: */net/* all files in "any top level directory"/net |
92 | One pattern per line. Multiple F: lines acceptable. | 92 | One pattern per line. Multiple F: lines acceptable. |
93 | N: Files and directories with regex patterns. | ||
94 | N: [^a-z]tegra all files whose path contains the word tegra | ||
95 | One pattern per line. Multiple N: lines acceptable. | ||
93 | X: Files and directories that are NOT maintained, same rules as F: | 96 | X: Files and directories that are NOT maintained, same rules as F: |
94 | Files exclusions are tested before file matches. | 97 | Files exclusions are tested before file matches. |
95 | Can be useful for excluding a specific subdirectory, for instance: | 98 | Can be useful for excluding a specific subdirectory, for instance: |
@@ -97,13 +100,12 @@ Descriptions of section entries: | |||
97 | X: net/ipv6/ | 100 | X: net/ipv6/ |
98 | matches all files in and below net excluding net/ipv6/ | 101 | matches all files in and below net excluding net/ipv6/ |
99 | K: Keyword perl extended regex pattern to match content in a | 102 | K: Keyword perl extended regex pattern to match content in a |
100 | patch or file, or an affected filename. For instance: | 103 | patch or file. For instance: |
101 | K: of_get_profile | 104 | K: of_get_profile |
102 | matches patch or file content, or filenames, that contain | 105 | matches patches or files that contain "of_get_profile" |
103 | "of_get_profile" | ||
104 | K: \b(printk|pr_(info|err))\b | 106 | K: \b(printk|pr_(info|err))\b |
105 | matches patch or file content, or filenames, that contain one or | 107 | matches patches or files that contain one or more of the words |
106 | more of the words printk, pr_info or pr_err | 108 | printk, pr_info or pr_err |
107 | One regex pattern per line. Multiple K: lines acceptable. | 109 | One regex pattern per line. Multiple K: lines acceptable. |
108 | 110 | ||
109 | Note: For the hard of thinking, this list is meant to remain in alphabetical | 111 | Note: For the hard of thinking, this list is meant to remain in alphabetical |
@@ -7896,7 +7898,7 @@ L: linux-tegra@vger.kernel.org | |||
7896 | Q: http://patchwork.ozlabs.org/project/linux-tegra/list/ | 7898 | Q: http://patchwork.ozlabs.org/project/linux-tegra/list/ |
7897 | T: git git://git.kernel.org/pub/scm/linux/kernel/git/swarren/linux-tegra.git | 7899 | T: git git://git.kernel.org/pub/scm/linux/kernel/git/swarren/linux-tegra.git |
7898 | S: Supported | 7900 | S: Supported |
7899 | K: (?i)[^a-z]tegra | 7901 | N: [^a-z]tegra |
7900 | 7902 | ||
7901 | TEHUTI ETHERNET DRIVER | 7903 | TEHUTI ETHERNET DRIVER |
7902 | M: Andy Gospodarek <andy@greyhouse.net> | 7904 | M: Andy Gospodarek <andy@greyhouse.net> |