checkpatch: treat jenkins as valid email

This is needed to avoid checkpatch barking on already committed patches.

Change-Id: Ic2b4cfa04c8230d45c68bbf6b370841f682b32d6
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Reviewed-on: http://openocd.zylin.com/1785
Tested-by: jenkins
Reviewed-by: Jens Bauer <jens@gpio.dk>
Reviewed-by: Mathias Küster <kesmtp@freenet.de>
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
This commit is contained in:
Paul Fertser 2013-10-26 11:24:43 +04:00 committed by Spencer Oliver
parent 3b3e3f67c1
commit cadd519715
1 changed files with 2 additions and 0 deletions

View File

@ -446,6 +446,8 @@ sub parse_email {
$address = ""; $address = "";
$comment = ""; $comment = "";
} }
} elsif ($formatted_email eq "jenkins") {
$address = "jenkins"
} }
$name =~ s/^\s+|\s+$//g; $name =~ s/^\s+|\s+$//g;