Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 105388
b: refs/heads/master
c: f4c014c
h: refs/heads/master
v: v3
  • Loading branch information
Andy Whitcroft authored and Linus Torvalds committed Jul 24, 2008
1 parent 2a7b334 commit 6f68cda
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 548596d523d83dff5a670beb84be0daf4c3bcd16
refs/heads/master: f4c014c0dede10cc0a8463e748892e738e190699
4 changes: 3 additions & 1 deletion trunk/scripts/checkpatch.pl
Original file line number Diff line number Diff line change
Expand Up @@ -1138,7 +1138,9 @@ sub process {
}
#80 column limit
if ($line =~ /^\+/ && $prevrawline !~ /\/\*\*/ &&
$rawline !~ /^.\s*\*\s*\@$Ident\s/ && $length > 80)
$rawline !~ /^.\s*\*\s*\@$Ident\s/ &&
$line !~ /^\+\s*printk\s*\(\s*(?:KERN_\S+\s*)?"[X\t]*"\s*(?:,|\)\s*;)\s*$/ &&
$length > 80)
{
WARN("line over 80 characters\n" . $herecurr);
}
Expand Down

0 comments on commit 6f68cda

Please sign in to comment.