diff options
Diffstat (limited to 'scripts/checkpatch.pl')
-rwxr-xr-x | scripts/checkpatch.pl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index 89177c349f93..614999f29aa0 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl | |||
@@ -1138,7 +1138,9 @@ sub process { | |||
1138 | } | 1138 | } |
1139 | #80 column limit | 1139 | #80 column limit |
1140 | if ($line =~ /^\+/ && $prevrawline !~ /\/\*\*/ && | 1140 | if ($line =~ /^\+/ && $prevrawline !~ /\/\*\*/ && |
1141 | $rawline !~ /^.\s*\*\s*\@$Ident\s/ && $length > 80) | 1141 | $rawline !~ /^.\s*\*\s*\@$Ident\s/ && |
1142 | $line !~ /^\+\s*printk\s*\(\s*(?:KERN_\S+\s*)?"[X\t]*"\s*(?:,|\)\s*;)\s*$/ && | ||
1143 | $length > 80) | ||
1142 | { | 1144 | { |
1143 | WARN("line over 80 characters\n" . $herecurr); | 1145 | WARN("line over 80 characters\n" . $herecurr); |
1144 | } | 1146 | } |