From: Joe Perches <joe@perches.com>
To: chunguang qu <quchunguang@gmail.com>,
Randy Dunlap <rdunlap@infradead.org>,
linux-kernel@vger.kernel.org
Subject: Re: Indent issus in kernel module development
Date: Fri, 18 Dec 2015 22:16:08 -0800 [thread overview]
Message-ID: <1450505768.3430.24.camel@perches.com> (raw)
In-Reply-To: <CABk77DgznbH_2y4P3RbPhXAkSbTvmNo4rJiug=PbMnRP+YHTHA@mail.gmail.com>
On Sat, 2015-12-19 at 13:50 +0800, chunguang qu wrote:
> Yes, I just tried `scripts/Lindent` and it has the same problem.
>
> I had compared the source of `Lindent` with `-linux` option of
> `indent` long time ago, there's seems no major difference.
> So i used `indent -linux <file>` above.
>
> Thanks for your advice about `emace`, but `vi` is my only editor for
> dozens of years.
Try:
$ ./scripts/checkpatch.pl --fix --types=spacing <file>
next prev parent reply other threads:[~2015-12-19 6:16 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-19 2:07 Indent issus in kernel module development chunguang qu
2015-12-19 2:26 ` Randy Dunlap
2015-12-19 5:50 ` chunguang qu
2015-12-19 6:16 ` Joe Perches [this message]
2015-12-20 12:52 ` chunguang qu
2015-12-21 15:13 ` Austin S. Hemmelgarn
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1450505768.3430.24.camel@perches.com \
--to=joe@perches.com \
--cc=linux-kernel@vger.kernel.org \
--cc=quchunguang@gmail.com \
--cc=rdunlap@infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.