commit | 170d3a22688f06fda42e353bbccd0f3df89f3d94 | [log] [tgz] |
---|---|---|
author | Andy Whitcroft <apw@shadowen.org> | Wed Oct 15 22:02:30 2008 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Thu Oct 16 11:21:37 2008 -0700 |
tree | 77dda2b9e7890d95452cfe3255d8d83187be579a | |
parent | a6a84062821738426ed4f58f4d584ecb7feb3dee [diff] |
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>