summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorIsrael Schlesinger <israels@codeaurora.org>2010-07-27 13:28:26 -0700
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 20:51:39 -0700
commitb6d250b4e795c16dacde427b8f00ac8c2091dedd (patch)
treece1ae06a69fb212d92c9ac7aa344de97d5f128f0 /scripts
parent4269e5ecb93c44af27ef14190c5b15d0269d4774 (diff)
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>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/checkpatch.pl3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index 72ed2387b7bd..8866ce3abdc8 100755
--- a/scripts/checkpatch.pl
+++ b/scripts/checkpatch.pl
@@ -2639,8 +2639,7 @@ sub process {
#
# if LONG_LINE is ignored, the other 2 types are also ignored
#
-
- if ($line =~ /^\+/ && $length > $max_line_length) {
+ if ($line =~ /^\+/ && $length > $max_line_length && $realfile ne "scripts/checkpatch.pl") {
my $msg_type = "LONG_LINE";
# Check the allowed long line types first