]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
checkpatch: warn on unnecessary line continuations
authorJoe Perches <joe@perches.com>
Fri, 9 Nov 2012 03:04:54 +0000 (14:04 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 14 Nov 2012 04:55:16 +0000 (15:55 +1100)
commit93288d6c083162f7a3423cfd31bd933f52ee05b1
tree5571df23ad15682eaf4bc9a2a37223aba3e1a043
parent738e5187d3bb6e1e3ae76779679e6f32fea78c09
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