Skip to content

Commit ef0c081

Browse files
JoePerchestorvalds
authored andcommitted
get_maintainer: remove uses of P: for maintainer name
Commit 1ca84ed ("MAINTAINERS: Reclaim the P: tag for Maintainer Entry Profile") changed the use of the "P:" tag from "Person" to "Profile (ie: special subsystem coding styles and characteristics)" Change how get_maintainer.pl parses the "P:" tag to match. Link: http://lkml.kernel.org/r/ca53823fc5d25c0be32ad937d0207a0589c08643.camel@perches.com Signed-off-by: Joe Perches <joe@perches.com> Acked-by: Dan Williams <dan.j.william@intel.com> Cc: Jonathan Corbet <corbet@lwn.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 9e69fa4 commit ef0c081

1 file changed

Lines changed: 0 additions & 24 deletions

File tree

‎scripts/get_maintainer.pl‎

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1341,35 +1341,11 @@ sub add_categories {
13411341
}
13421342
}
13431343
} elsif ($ptype eq "M") {
1344-
my ($name, $address) = parse_email($pvalue);
1345-
if ($name eq "") {
1346-
if ($i > 0) {
1347-
my $tv = $typevalue[$i - 1];
1348-
if ($tv =~ m/^([A-Z]):\s*(.*)/) {
1349-
if ($1 eq "P") {
1350-
$name = $2;
1351-
$pvalue = format_email($name, $address, $email_usename);
1352-
}
1353-
}
1354-
}
1355-
}
13561344
if ($email_maintainer) {
13571345
my $role = get_maintainer_role($i);
13581346
push_email_addresses($pvalue, $role);
13591347
}
13601348
} elsif ($ptype eq "R") {
1361-
my ($name, $address) = parse_email($pvalue);
1362-
if ($name eq "") {
1363-
if ($i > 0) {
1364-
my $tv = $typevalue[$i - 1];
1365-
if ($tv =~ m/^([A-Z]):\s*(.*)/) {
1366-
if ($1 eq "P") {
1367-
$name = $2;
1368-
$pvalue = format_email($name, $address, $email_usename);
1369-
}
1370-
}
1371-
}
1372-
}
13731349
if ($email_reviewer) {
13741350
my $subsystem = get_subsystem_name($i);
13751351
push_email_addresses($pvalue, "reviewer:$subsystem");

0 commit comments

Comments
 (0)