aboutsummaryrefslogtreecommitdiff
path: root/tools/scripts/checkpatch.pl
diff options
context:
space:
mode:
Diffstat (limited to 'tools/scripts/checkpatch.pl')
-rwxr-xr-xtools/scripts/checkpatch.pl4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/scripts/checkpatch.pl b/tools/scripts/checkpatch.pl
index 3c65697..14876a1 100755
--- a/tools/scripts/checkpatch.pl
+++ b/tools/scripts/checkpatch.pl
@@ -4238,7 +4238,9 @@ sub process {
my ($level, @ctx) = ctx_statement_level($linenr, $realcnt, 0);
- if ($line =~ /^\+\t{6,}/) {
+ # OpenOCD specific: Begin: replace s/6/10/
+ if ($line =~ /^\+\t{10,}/) {
+ # OpenOCD specific: End
WARN("DEEP_INDENTATION",
"Too many leading tabs - consider code refactoring\n" . $herecurr);
}