aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/checkpatch.pl
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/checkpatch.pl')
-rwxr-xr-xscripts/checkpatch.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index 764ffd1bb1c5..b464a4c3f863 100755
--- a/scripts/checkpatch.pl
+++ b/scripts/checkpatch.pl
@@ -1075,7 +1075,7 @@ sub parse_email {
1075 } elsif ($formatted_email =~ /(\S+\@\S+)(.*)$/) { 1075 } elsif ($formatted_email =~ /(\S+\@\S+)(.*)$/) {
1076 $address = $1; 1076 $address = $1;
1077 $comment = $2 if defined $2; 1077 $comment = $2 if defined $2;
1078 $formatted_email =~ s/$address.*$//; 1078 $formatted_email =~ s/\Q$address\E.*$//;
1079 $name = $formatted_email; 1079 $name = $formatted_email;
1080 $name = trim($name); 1080 $name = trim($name);
1081 $name =~ s/^\"|\"$//g; 1081 $name =~ s/^\"|\"$//g;