checkpatch: warn when networking block comment lines don't start with *
authorJoe Perches <joe@perches.com>
Wed, 3 Jul 2013 22:05:24 +0000 (15:05 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
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 <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/checkpatch.pl