diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index 13a076f0fb37..58a0b33c691f 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl @@ -2453,6 +2453,7 @@ sub process { $rawline !~ /^.\s*\*\s*\@$Ident\s/ && !($line =~ /^\+\s*$logFunctions\s*\(\s*(?:(KERN_\S+\s*|[^"]*))?"[X\t]*"\s*(?:|,|\)\s*;)\s*$/ || $line =~ /^\+\s*"[^"]*"\s*(?:\s*|,|\)\s*;)\s*$/) && + $realfile ne "scripts/checkpatch.pl" && $length > $max_line_length) { WARN("LONG_LINE",