]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
checkpatch: handle do without braces if we have enough context
authorAndy Whitcroft <apw@shadowen.org>
Thu, 16 Oct 2008 05:02:30 +0000 (22:02 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 16 Oct 2008 18:21:37 +0000 (11:21 -0700)
commit170d3a22688f06fda42e353bbccd0f3df89f3d94
tree77dda2b9e7890d95452cfe3255d8d83187be579a
parenta6a84062821738426ed4f58f4d584ecb7feb3dee
checkpatch: handle do without braces if we have enough context

If we have sufficient context detect and handle do without braces ({).
Else these incorrectly trigger a trailing statements error for the
associated while.

Signed-off-by: Andy Whitcroft <apw@shadowen.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/checkpatch.pl