Re: [PATCH -next] checkpatch: Warn only on "space before semicolon" at end of line

2013-12-04 Thread Dan Carpenter
Thanks so much. :) regards, dan carpenter -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[PATCH -next] checkpatch: Warn only on "space before semicolon" at end of line

2013-12-04 Thread Joe Perches
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 --- On Wed, 2013-12-04 at 11:21 +0300, Dan Carpenter wrote: > You and I generally agree on style

[PATCH -next] checkpatch: Warn only on space before semicolon at end of line

2013-12-04 Thread Joe Perches
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 j...@perches.com --- On Wed, 2013-12-04 at 11:21 +0300, Dan Carpenter wrote: You and I generally

Re: [PATCH -next] checkpatch: Warn only on space before semicolon at end of line

2013-12-04 Thread Dan Carpenter
Thanks so much. :) regards, dan carpenter -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/