checkpatch: indent checks -- stop when we run out of continuation lines
authorAndy Whitcroft <apw@canonical.com>
Tue, 22 Sep 2009 00:04:36 +0000 (17:04 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 22 Sep 2009 14:17:48 +0000 (07:17 -0700)
commit30dad6ebecffebddf6b9947d11e31377fa900ff3
tree105febf76a8f69f2194383bf027cad7e8d257d1f
parent113f04a836481e9ecc26e8dee8b0e4d52878a288
checkpatch: indent checks -- stop when we run out of continuation lines

Ensure we terminate when there are no futher continuation lines when
trying to determine relative indent of conditionals and their blocks.

Reported-by: John Daiker <daikerjohn@gmail.com>
Signed-off-by: Andy Whitcroft <apw@canonical.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/checkpatch.pl