Re: [PATCH, v2] checkpatch: Warn on code with 6+ tab indentation, remove 80col warning

Joe Perches
2012-02-04T18:48:23Z

On Sat, 2012-02-04 at 19:02 +0100, Ingo Molnar wrote:
> * Joe Perches <joe@perches.com> wrote:
>
> > On Sat, 2012-02-04 at 14:03 +0100, Ingo Molnar wrote:
> > > * Joe Perches <joe@perches.com> wrote:
> > > > Overly indented code should be refactored.
> > > _AND_ the 80 cols warning should be removed. The overwhelming
> > > majority of developers either ignore the 80 cols warning or make
> > > the code worse as a result of the warning.
> >
> > Perhaps, but it should be a separate patch
> > and you'd still need to update CodingStyle.
>
> Why would I have to update CodingStyle? The 80col limit remains,
> it's just removed from *checkpatch*.

If that's your intent, I disagree with your patch.

There are some truly _ugly_ > 80 char lines that
people attempt where checkpatch should issue some
"don't do that" message.