mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
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) Conflicts: scripts/checkpatch.pl
This commit is contained in:
parent
7ee453e97d
commit
4be1c09bc3
1 changed files with 1 additions and 0 deletions
|
@ -1859,6 +1859,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 > 80)
|
||||
{
|
||||
WARN("LONG_LINE",
|
||||
|
|
Loading…
Reference in a new issue