]> git.baikalelectronics.ru Git - kernel.git/commit
checkpatch: test multiple line block comment alignment
authorJoe Perches <joe@perches.com>
Tue, 11 Oct 2016 20:51:50 +0000 (13:51 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 11 Oct 2016 22:06:30 +0000 (15:06 -0700)
commit19b33a17452a245b44c9a4b60855742c6ae55a97
tree1b616ce4b11712c7d3838c1888ee8ec5b5f8bd51
parent894612d758f796f0a9f26d02f4a75a538d71118e
checkpatch: test multiple line block comment alignment

Warn when block comments are not aligned on the *

/*
 * block comment, no warning
 */

/*
  * block comment, emit warning
  */

Link: http://lkml.kernel.org/r/edb57bd330adfe024b95ec2a807d4aa7f0c8b112.1472261299.git.joe@perches.com
Signed-off-by: Joe Perches <joe@perches.com>
Reported-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/checkpatch.pl