]> 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)
commit9e60f13e9b67ba7ff7f34c1c6cb99f9a85499809
tree384454623fc76da468021e0d58846debec536014
parenta358fecd2520ba537f64264554dfca19f1901e22
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