aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/get_maintainer.pl
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2014-08-04 18:55:08 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2014-08-04 18:55:08 -0400
commit5bda4f638f36ef4c4e3b1397b02affc3db94356e (patch)
treed1bde148cde9981c31941382b2076084c7f5796c /scripts/get_maintainer.pl
parenta45c657f28f82b056173d1afc2e7ed1f1f68829f (diff)
parent01c9db827146ce321562a992a5dbc1a49b1a99ce (diff)
Merge branch 'core-rcu-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull RCU changes from Ingo Molar: "The main changes: - torture-test updates - callback-offloading changes - maintainership changes - update RCU documentation - miscellaneous fixes" * 'core-rcu-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (32 commits) rcu: Allow for NULL tick_nohz_full_mask when nohz_full= missing rcu: Fix a sparse warning in rcu_report_unblock_qs_rnp() rcu: Fix a sparse warning in rcu_initiate_boost() rcu: Fix __rcu_reclaim() to use true/false for bool rcu: Remove CONFIG_PROVE_RCU_DELAY rcu: Use __this_cpu_read() instead of per_cpu_ptr() rcu: Don't use NMIs to dump other CPUs' stacks rcu: Bind grace-period kthreads to non-NO_HZ_FULL CPUs rcu: Simplify priority boosting by putting rt_mutex in rcu_node rcu: Check both root and current rcu_node when setting up future grace period rcu: Allow post-unlock reference for rt_mutex rcu: Loosen __call_rcu()'s rcu_head alignment constraint rcu: Eliminate read-modify-write ACCESS_ONCE() calls rcu: Remove redundant ACCESS_ONCE() from tick_do_timer_cpu rcu: Make rcu node arrays static const char * const signal: Explain local_irq_save() call rcu: Handle obsolete references to TINY_PREEMPT_RCU rcu: Document deadlock-avoidance information for rcu_read_unlock() scripts: Teach get_maintainer.pl about the new "R:" tag rcu: Update rcu torture maintainership filename patterns ...
Diffstat (limited to 'scripts/get_maintainer.pl')
-rwxr-xr-xscripts/get_maintainer.pl22
1 files changed, 21 insertions, 1 deletions
diff --git a/scripts/get_maintainer.pl b/scripts/get_maintainer.pl
index 41987885bd31..d7016279ec2b 100755
--- a/scripts/get_maintainer.pl
+++ b/scripts/get_maintainer.pl
@@ -21,6 +21,7 @@ my $lk_path = "./";
21my $email = 1; 21my $email = 1;
22my $email_usename = 1; 22my $email_usename = 1;
23my $email_maintainer = 1; 23my $email_maintainer = 1;
24my $email_reviewer = 1;
24my $email_list = 1; 25my $email_list = 1;
25my $email_subscriber_list = 0; 26my $email_subscriber_list = 0;
26my $email_git_penguin_chiefs = 0; 27my $email_git_penguin_chiefs = 0;
@@ -202,6 +203,7 @@ if (!GetOptions(
202 'remove-duplicates!' => \$email_remove_duplicates, 203 'remove-duplicates!' => \$email_remove_duplicates,
203 'mailmap!' => \$email_use_mailmap, 204 'mailmap!' => \$email_use_mailmap,
204 'm!' => \$email_maintainer, 205 'm!' => \$email_maintainer,
206 'r!' => \$email_reviewer,
205 'n!' => \$email_usename, 207 'n!' => \$email_usename,
206 'l!' => \$email_list, 208 'l!' => \$email_list,
207 's!' => \$email_subscriber_list, 209 's!' => \$email_subscriber_list,
@@ -260,7 +262,8 @@ if ($sections) {
260} 262}
261 263
262if ($email && 264if ($email &&
263 ($email_maintainer + $email_list + $email_subscriber_list + 265 ($email_maintainer + $email_reviewer +
266 $email_list + $email_subscriber_list +
264 $email_git + $email_git_penguin_chiefs + $email_git_blame) == 0) { 267 $email_git + $email_git_penguin_chiefs + $email_git_blame) == 0) {
265 die "$P: Please select at least 1 email option\n"; 268 die "$P: Please select at least 1 email option\n";
266} 269}
@@ -750,6 +753,7 @@ MAINTAINER field selection options:
750 --hg-since => hg history to use (default: $email_hg_since) 753 --hg-since => hg history to use (default: $email_hg_since)
751 --interactive => display a menu (mostly useful if used with the --git option) 754 --interactive => display a menu (mostly useful if used with the --git option)
752 --m => include maintainer(s) if any 755 --m => include maintainer(s) if any
756 --r => include reviewer(s) if any
753 --n => include name 'Full Name <addr\@domain.tld>' 757 --n => include name 'Full Name <addr\@domain.tld>'
754 --l => include list(s) if any 758 --l => include list(s) if any
755 --s => include subscriber only list(s) if any 759 --s => include subscriber only list(s) if any
@@ -1064,6 +1068,22 @@ sub add_categories {
1064 my $role = get_maintainer_role($i); 1068 my $role = get_maintainer_role($i);
1065 push_email_addresses($pvalue, $role); 1069 push_email_addresses($pvalue, $role);
1066 } 1070 }
1071 } elsif ($ptype eq "R") {
1072 my ($name, $address) = parse_email($pvalue);
1073 if ($name eq "") {
1074 if ($i > 0) {
1075 my $tv = $typevalue[$i - 1];
1076 if ($tv =~ m/^(\C):\s*(.*)/) {
1077 if ($1 eq "P") {
1078 $name = $2;
1079 $pvalue = format_email($name, $address, $email_usename);
1080 }
1081 }
1082 }
1083 }
1084 if ($email_reviewer) {
1085 push_email_addresses($pvalue, 'reviewer');
1086 }
1067 } elsif ($ptype eq "T") { 1087 } elsif ($ptype eq "T") {
1068 push(@scm, $pvalue); 1088 push(@scm, $pvalue);
1069 } elsif ($ptype eq "W") { 1089 } elsif ($ptype eq "W") {