Re: [PATCH] scripts/checkpatch.pl: Only emit LONG_LINE for --strict

From: Joe Perches
Date: Thu Jun 26 2014 - 01:29:38 EST


On Wed, 2014-06-25 at 22:08 -0700, Josh Triplett wrote:

> Now, arguably the four leading tabs on those lines suggest the need for
> some code refactoring; personally, I'd suggest changing DEEP_INDENTATION
> to flag 4+ tabs rather than 6+ tabs as it currently does.

There are _way too many_ 4+ tab indents for that to
be sensible.

> "trigraphs"? Do you mean ternaries? Yeah,

Yup, those.

> Yeah, that one makes sense: if you have a comment to the right of a long
> line, and the comment is what's making it long, it's easy enough to move
> the comment before the line.



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/