aboutsummaryrefslogtreecommitdiff
path: root/tools/scripts/checkpatch.pl
diff options
context:
space:
mode:
authorPaul Fertser <fercerpav@gmail.com>2013-10-26 11:24:43 +0400
committerAntonio Borneo <borneo.antonio@gmail.com>2022-09-18 08:18:09 +0000
commitc893a26a008a3a260bb40dc3f14ee7bdcc353981 (patch)
tree91f75dc71a81191a8cacfe3cbb6baeb825f8c8cc /tools/scripts/checkpatch.pl
parent7bf39f64f64959a3fea60e74a26c9b54e4ab0f0a (diff)
downloadriscv-openocd-c893a26a008a3a260bb40dc3f14ee7bdcc353981.zip
riscv-openocd-c893a26a008a3a260bb40dc3f14ee7bdcc353981.tar.gz
riscv-openocd-c893a26a008a3a260bb40dc3f14ee7bdcc353981.tar.bz2
checkpatch: treat jenkins as valid email
This is needed to avoid checkpatch barking on already committed patches. This is the old commit cadd51971535 ("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
Diffstat (limited to 'tools/scripts/checkpatch.pl')
-rwxr-xr-xtools/scripts/checkpatch.pl4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/scripts/checkpatch.pl b/tools/scripts/checkpatch.pl
index 1daedd2..762e9ed 100755
--- a/tools/scripts/checkpatch.pl
+++ b/tools/scripts/checkpatch.pl
@@ -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