Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1290694
| From | Ken Moffat <zarniwhoop@ntlworld.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 0/9] Fix checkpatch errors |
| Date | 2015-12-13 21:40 +0100 |
| Message-ID | <qFlB0-4IZ-15@gated-at.bofh.it> (permalink) |
| References | <qEtqV-35O-7@gated-at.bofh.it> <qF8X8-5dl-5@gated-at.bofh.it> <qFiWt-2XZ-3@gated-at.bofh.it> <qFjpw-3nE-11@gated-at.bofh.it> <qFjzb-3sE-21@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Sun, Dec 13, 2015 at 07:26:04PM +0100, Frederik wrote:
> On Sun, 13. Dec 19:15, Nicolai Stange wrote:
> > Frederik <frederik.voelkel@fau.de> writes:
> >
> > W/o your series applied (so line numbering might be slightly
> > different), checkpatch.pl says:
> >
> > ERROR: trailing whitespace
> > #270: FILE: -:270:
> > +^I * This do { } while() loop will get ALL chars out of Rx FIFO $
> >
> > AFAICS, your patch [7/9] ("drivers: tty: 68328serial.c: remove trailing
> > whitespaces") doesn't fix this one.
> >
> > In good old regexp tradition, the '$' sign denotes the end of line. So,
> > there is a single space after "FIFO" and before the end of line.
> >
> > If you happen to be Emacs users, consider trying out whitespace-mode.
> > If not, try to find another way to make your editor visualize whitespace
> > somehow.
>
> Oh right I see. We will fix that and resend.
>
> Thank you!
If you are using vim, I have the following in my .vimrc. It was
originally posted here many years ago. Seems to work on all my x86
boxes, but AFAIR it didn't work on a ppc, so might not work on other
architectures.
"for redundant whitespace, from Jeremy Kerr via Olof Johanson
highlight RedundantWhitespace ctermbg=red guibg=red
match RedundantWhitespace /\s\+$\| \+\ze\t/
HTH
ĸen
--
This email was written using 100% recycled letters.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
Re: [PATCH 0/9] Fix checkpatch errors Greg KH <gregkh@linuxfoundation.org> - 2015-12-13 08:10 +0100
Re: [PATCH 0/9] Fix checkpatch errors Frederik <frederik.voelkel@fau.de> - 2015-12-13 18:50 +0100
Re: [PATCH 0/9] Fix checkpatch errors Nicolai Stange <nicstange@gmail.com> - 2015-12-13 19:20 +0100
Re: [PATCH 0/9] Fix checkpatch errors Frederik <frederik.voelkel@fau.de> - 2015-12-13 19:30 +0100
Re: [PATCH 0/9] Fix checkpatch errors Ken Moffat <zarniwhoop@ntlworld.com> - 2015-12-13 21:40 +0100
csiph-web