]> git.baikalelectronics.ru Git - kernel.git/commit
checkpatch: warn on unnecessary line continuations
authorJoe Perches <joe@perches.com>
Tue, 18 Dec 2012 00:01:47 +0000 (16:01 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 18 Dec 2012 01:15:18 +0000 (17:15 -0800)
commitea0f7660a5f37ac5ff5a9f28d26054074bb7b41a
tree384454623fc76da468021e0d58846debec536014
parentc68636ce78cc77cc93cf9eb59a5cfcf65a6f419b
checkpatch: warn on unnecessary line continuations

When the previous line is not a line continuation and the current line has
a line continuation but is not a #define, emit a warning.

Signed-off-by: Joe Perches <joe@perches.com>
Cc: Peter Hurley <peter@hurleysoftware.com>
Cc: Andy Whitcroft <apw@canonical.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/checkpatch.pl