]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
checkpatch: warn on unnecessary line continuations
authorJoe Perches <joe@perches.com>
Sat, 3 Nov 2012 00:42:51 +0000 (11:42 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 6 Nov 2012 04:58:40 +0000 (15:58 +1100)
commit5ac5a23d562098d48b6354eebd8daf4efa2aa4bc
tree4827379f7d94d9a418c2015670bfa55175b1838d
parenta3e1562bc998a1a6a33a4f5c5ca68e28f037a777
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>
scripts/checkpatch.pl