checkpatch: treat jenkins as valid email 85/1785/2
authorPaul Fertser <fercerpav@gmail.com>
Sat, 26 Oct 2013 07:24:43 +0000 (11:24 +0400)
committerSpencer Oliver <spen@spen-soft.co.uk>
Tue, 29 Oct 2013 22:55:55 +0000 (22:55 +0000)
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>
tools/scripts/checkpatch.pl

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