[LTP] [RFC PATCH v5 0/3] Simplify network setup

Petr Vorel pvorel@suse.cz
Thu May 4 15:38:48 CEST 2017


Hi Alexey, Richard,

> >> BTW: I probably have source lines > 80 chars. My Vim doesn't highlight
> >> anything, but checkpatch.pl complain. I might have wrong vim configuration.
> > Are you using checkpatch.pl from kernel 4.11? It was recently changed to
> > follow the actual style guidelines which say lines over 80 chars are
> > preferable to strings being split over multiple lines. Maybe Vim is aware of
> > that?

> Or may be vim's configuration has wrong tab size, should be 8 characters
> for Linux coding style.
I'm using recent version of checkpatch.pl.
My fault, I've installed linuxsty plugin [1], but default is off, so I had these options:
tabstop=4 softtabstop=4 shiftwidth=4

[1]: https://github.com/vivien/vim-linux-coding-style/blob/master/plugin/linuxsty.vim

Thank you both for tips!

Petr


More information about the ltp mailing list