16 Apr 2012 11:17
Please fix or revert: [PATCH] checkpatch: add --strict tests for braces, comments and casts
Ingo Molnar <mingo <at> kernel.org>
2012-04-16 09:17:20 GMT
2012-04-16 09:17:20 GMT
This recent checkpatch commit, added in v3.4-rc1: aad4f6149831 checkpatch: add --strict tests for braces, comments and casts made the default checkpatch run complain about the following perfectly fine multi-line comment block: + rdp->qlen_lazy = 0; + rdp->qlen = 0; + + /* + * Adopt all callbacks. The outgoing CPU was in no shape + * to advance them, so make them all go through a full + * grace period. + */ + *receive_rdp->nxttail[RCU_NEXT_TAIL] = rdp->nxtlist; With: CHECK: Don't begin block comments with only a /* line, use /* comment... #80: FILE: kernel/rcutree.c:1428: + + /* Which is an obviously bogus warning: the comment is perfectly fine and it has the form that Documentation/CodingStyle specifically recommends:(Continue reading)
I must be retarded, as I still find facebook better than G+.
-- Steve
RSS Feed