]> 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>
Wed, 7 Nov 2012 04:15:27 +0000 (15:15 +1100)
commit22995c4884ae72525d491b1643288a40fa001a86
tree5e9ff61aaafdef104dc80dd80bd2799957461bde
parenta6378afd32767fda639f457988e27fa59e4a105e
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