commit | 53210168feeff9a3c780bd42f69936d4c12381d5 | [log] [tgz] |
---|---|---|
author | Andy Whitcroft <apw@shadowen.org> | Wed Jul 23 21:29:03 2008 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Thu Jul 24 10:47:25 2008 -0700 |
tree | 7f637f7e8a1c01b0a5fd4456d31da4868472a95d | |
parent | 8d31cfcecf67563d70cd68616cb8fb4384f24b51 [diff] |
checkpatch: toughen trailing if statement checks and extend them to while and for Extend the trailing statement checks to report a trailing semi-colon ';' as we really want it on the next line and indented so it is really really obvious. Also extend the tests to include while and for. 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>