summaryrefslogtreecommitdiffstats
path: root/scripts/get_maintainer.pl
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2022-04-29 14:38:00 -0700
committerakpm <akpm@linux-foundation.org>2022-04-29 14:38:00 -0700
commit11fb48961e5250768767612da4a303fa2f5ea504 (patch)
treeed0ad0cfda1fc806022d5804620f1fab87cf6936 /scripts/get_maintainer.pl
parentc06d7aaf2951ce7f986a879127995728d63d8577 (diff)
downloadlinux-11fb48961e5250768767612da4a303fa2f5ea504.tar.bz2
get_maintainer: Honor mailmap for in file emails
Add support to also use the mailmap for 'in file' email addresses. Link: https://lkml.kernel.org/r/20220323193645.317514-1-robh@kernel.org Signed-off-by: Rob Herring <robh@kernel.org> Reported-by: Marc Zyngier <maz@kernel.org> Acked-by: Joe Perches <joe@perches.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'scripts/get_maintainer.pl')
-rwxr-xr-xscripts/get_maintainer.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/get_maintainer.pl b/scripts/get_maintainer.pl
index 6bd5221d37b8..ab123b498fd9 100755
--- a/scripts/get_maintainer.pl
+++ b/scripts/get_maintainer.pl
@@ -983,6 +983,7 @@ sub get_maintainers {
}
foreach my $email (@file_emails) {
+ $email = mailmap_email($email);
my ($name, $address) = parse_email($email);
my $tmp_email = format_email($name, $address, $email_usename);