diff options
author | Arnd Bergmann <arnd@arndb.de> | 2012-02-27 17:23:15 +0100 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2012-02-27 17:23:21 +0100 |
commit | a173fc693b25216c5c834978f4fafd731fd4ff94 (patch) | |
tree | f75c2fa106217cc3afd1bde6803ca77fe953bbcf /scripts | |
parent | Merge branch 'mxs/boards' of git://git.linaro.org/people/shawnguo/linux-2.6 i... (diff) | |
parent | ARM: kirkwood: convert uart0 to devicetree. (diff) | |
download | linux-a173fc693b25216c5c834978f4fafd731fd4ff94.tar.xz linux-a173fc693b25216c5c834978f4fafd731fd4ff94.zip |
Merge branch 'kirkwood/board' into next/boards
* kirkwood/board: (2 commits)
ARM: kirkwood: convert uart0 to devicetree.
ARM: kirkwood: add dreamplug (fdt) support.
Series sent by email from Jason Cooper <jason@lakedaemon.net>
Update to Linux 3.3-rc3
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/checkpatch.pl | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index e3bfcbe8a520..a3b9782441f9 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl @@ -1924,6 +1924,12 @@ sub process { my $pre_ctx = "$1$2"; my ($level, @ctx) = ctx_statement_level($linenr, $realcnt, 0); + + if ($line =~ /^\+\t{6,}/) { + WARN("DEEP_INDENTATION", + "Too many leading tabs - consider code refactoring\n" . $herecurr); + } + my $ctx_cnt = $realcnt - $#ctx - 1; my $ctx = join("\n", @ctx); |