[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1450505768.3430.24.camel@perches.com>
Date: Fri, 18 Dec 2015 22:16:08 -0800
From: Joe Perches <joe@...ches.com>
To: chunguang qu <quchunguang@...il.com>,
Randy Dunlap <rdunlap@...radead.org>,
linux-kernel@...r.kernel.org
Subject: Re: Indent issus in kernel module development
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>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists