checkpatch: treat jenkins as valid email

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

This is the old commit cadd519715 ("checkpatch: treat jenkins as
valid email") re-applied.

Remove the flag BAD_SIGN_OFF, not anymore needed.

Change-Id: I6744f80de982f7934f3a5197ac2df1c29962cbd0
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/5120
Tested-by: jenkins
This commit is contained in:
Paul Fertser 2013-10-26 11:24:43 +04:00 committed by Antonio Borneo
parent 7bf39f64f6
commit c893a26a00
2 changed files with 4 additions and 1 deletions

View File

@ -30,5 +30,4 @@
# Temporarily lines, to commit checkpatch itself. To be removed!
--no-tree
--ignore BAD_SIGN_OFF
--ignore TYPO_SPELLING

View File

@ -1403,6 +1403,10 @@ sub parse_email {
$address = "";
$comment = "";
}
# OpenOCD specific: Begin: handle jenkins as valid email
} elsif ($formatted_email eq "jenkins") {
$address = "jenkins";
# OpenOCD specific: End
}
# Extract comments from names excluding quoted parts