checkpatch: add some --strict coding style checks
authorJoe Perches <joe@perches.com>
Fri, 23 Mar 2012 22:02:16 +0000 (15:02 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 23 Mar 2012 23:58:36 +0000 (16:58 -0700)
commitd1fe9c099cecc6e49324355f1b15573e9dbbe0f9
tree3b9fc1b4ac53907623b73e4967fed8b1ead12a58
parent6061d949dd984c762ee272a88e77699fa675d1c8
checkpatch: add some --strict coding style checks

Argument alignment across multiple lines should match the open
parenthesis.

Logical continuations should be at the end of the previous line, not the
start of a new line.

These are not required by CodingStyle so make the tests active only when
using --strict.

Improved by some examples from Bruce Allen.

Signed-off-by: Joe Perches <joe@perches.com>
Cc: "Bruce W. Allen" <bruce.w.allan@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/checkpatch.pl