]> git.karo-electronics.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>
Tue, 13 Nov 2012 05:15:49 +0000 (16:15 +1100)
commit88bc05b436e0c9669494ae7a2477c6dc512f7984
tree4d2585f6fcefb089ded3d2ca27f4bb9aa3f9c906
parentc02d8b7e77f7ca05899c61aa79de6000d1b653b1
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