Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9f4a50f2 authored by Israel Schlesinger's avatar Israel Schlesinger Committed by Kyle Yan
Browse files

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: default avatarIsrael Schlesinger <israels@codeaurora.org>
(cherry picked from commit 4aa1b864119e2d0e49efefcd6dba7349f13c3939)
Signed-off-by: default avatarStepan Moskovchenko <stepanm@codeaurora.org>
parent 51e7450c
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -2662,8 +2662,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