Thread (4 messages) flat view 4 messages, 2 authors, 2012-03-01

Re: [PATCH v3] checkpatch: Add some --strict coding style checks

From: Joe Perches <joe@perches.com>
Date: 2012-03-01 05:10:36
Also in: lkml

On Wed, 2012-02-29 at 20:24 -0800, Joe Perches wrote:
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_examples_from: "Bruce W. Allen" [off-list ref]
Signed-off-by: Joe Perches <joe@perches.com>
---
V3: Use perl 5.10 features
    Use a runtime check of perl version so $balanced_parens
    is not used in perl versions that don't support it.
    Update memset and min_t checks for newer $balanced_parens
    test.
    Improve alignment position test.
    Add message suggesting perl upgrade.
Forgot to mention this stops a hang
in the memset tests.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help