Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 319937
b: refs/heads/master
c: ce0338d
h: refs/heads/master
i:
  319935: 1cee54b
v: v3
  • Loading branch information
Joe Perches authored and Linus Torvalds committed Jul 31, 2012
1 parent 1f10560 commit dafd35e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b34a26f3158cca932b6f1427b97fe12c7838ee68
refs/heads/master: ce0338df3c9a43e709b8a478265b32b9edcc7ccc
6 changes: 5 additions & 1 deletion trunk/scripts/checkpatch.pl
Original file line number Diff line number Diff line change
Expand Up @@ -1600,13 +1600,17 @@ sub process {

# Check signature styles
if (!$in_header_lines &&
$line =~ /^(\s*)($signature_tags)(\s*)(.*)/) {
$line =~ /^(\s*)([a-z0-9_-]+by:|$signature_tags)(\s*)(.*)/i) {
my $space_before = $1;
my $sign_off = $2;
my $space_after = $3;
my $email = $4;
my $ucfirst_sign_off = ucfirst(lc($sign_off));

if ($sign_off !~ /$signature_tags/) {
WARN("BAD_SIGN_OFF",
"Non-standard signature: $sign_off\n" . $herecurr);
}
if (defined $space_before && $space_before ne "") {
WARN("BAD_SIGN_OFF",
"Do not use whitespace before $ucfirst_sign_off\n" . $herecurr);
Expand Down

0 comments on commit dafd35e

Please sign in to comment.