commit | d2e248e7b0068b940f3ca1fc26da603536a533db | [log] [tgz] |
---|---|---|
author | Joe Perches <joe@perches.com> | Thu Jan 23 15:54:41 2014 -0800 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Thu Jan 23 16:36:57 2014 -0800 |
tree | f40f33a4dfbb04615575be0b1600db48b5894a79 | |
parent | 8c5fcd24a9ea608286816a1508c067c8a512af78 [diff] |
checkpatch: warn only on "space before semicolon" at end of line The "space before a non-naked semicolon" test has unwanted output when used in "for ( ;; )" loops. Make the test work only on end-of-line statement termination semicolons. Signed-off-by: Joe Perches <joe@perches.com> Cc: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>