checkpatch: remove column limit for checkpatch patches

Currently checkpatch is enforcing an 80 character column
limit. This should not be applied for patches modifying
checkpatch.

Change-Id: I8e8935e633d79a7ee535ce6a90e54447a22d9a91
Signed-off-by: Israel Schlesinger <israels@codeaurora.org>
(cherry picked from commit 4aa1b864119e2d0e49efefcd6dba7349f13c3939)
Signed-off-by: Stepan Moskovchenko <stepanm@codeaurora.org>
This commit is contained in:
Israel Schlesinger 2010-07-27 13:28:26 -07:00 committed by Stepan Moskovchenko
parent e853b1705b
commit 928356ee45
1 changed files with 1 additions and 0 deletions

View File

@ -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",