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

Joe Perches
2012-03-01T05:10:36Z

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" <bruce.w.allan@intel.com>
> 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.