]> Git Repo - linux.git/commit - scripts/checkpatch.pl
checkpatch: warn when networking block comment lines don't start with *
authorJoe Perches <[email protected]>
Wed, 3 Jul 2013 22:05:24 +0000 (15:05 -0700)
committerLinus Torvalds <[email protected]>
Wed, 3 Jul 2013 23:07:44 +0000 (16:07 -0700)
commita605e32ebde25dc31f943fecb30e3e28079ccd06
tree42e3079ac358a456aa74a723d4f9c7ffe40b9b4d
parentfdb4bcd6108602097b9a1ebd11f6e61f331c8dce
checkpatch: warn when networking block comment lines don't start with *

Some block comments in network are written as:

/* block comment line 1
   block comment line 2
 */

Emit a warning on the "block comment line 2" because it should be

/* block comment line 1
 * block comment line 2
 */

This warning is only emitted on the second line of a block comment.

Signed-off-by: Joe Perches <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
scripts/checkpatch.pl
This page took 0.051215 seconds and 4 git commands to generate.