]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
checkpatch: toughen trailing if statement checks and extend them to while and for
authorAndy Whitcroft <apw@shadowen.org>
Thu, 24 Jul 2008 04:29:03 +0000 (21:29 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 24 Jul 2008 17:47:25 +0000 (10:47 -0700)
commit53210168feeff9a3c780bd42f69936d4c12381d5
tree7f637f7e8a1c01b0a5fd4456d31da4868472a95d
parent8d31cfcecf67563d70cd68616cb8fb4384f24b51
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>
scripts/checkpatch.pl