]> 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>
Mon, 12 Nov 2012 04:17:23 +0000 (15:17 +1100)
commit7ddbaf128fdaa14aa3200df16675a1600d9891fd
treefca87c101ca34a3d32cb5cba4587406ca01722fa
parent7605255a6702cb0e36ff28a3ea15525c3e81bd40
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