]> git.baikalelectronics.ru Git - kernel.git/commit
checkpatch: improve the block comment * alignment test
authorJoe Perches <joe@perches.com>
Tue, 11 Oct 2016 20:52:05 +0000 (13:52 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 11 Oct 2016 22:06:30 +0000 (15:06 -0700)
commitc0810d994d8853665d0a23de54def61d5f8f83b0
treeb53f54319eb5544fba15390709df43df3942f724
parent9c6ef0f884889b0f49388105b8bca8e246d424da
checkpatch: improve the block comment * alignment test

An "uninitialized value" is emitted when a block comment starts on
the same line as a statement.

Fix this and make the test use a little fewer cpu cycles too.

Link: http://lkml.kernel.org/r/3c9993320c2182d37f53ac540878cfef59c3f62d.1473365956.git.joe@perches.com
Signed-off-by: Joe Perches <joe@perches.com>
Reported-by: Charlemagne Lasse <charlemagnelasse@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/checkpatch.pl