lkml.org 
[lkml]   [2015]   [Dec]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Indent issus in kernel module development
From
Date
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>



\
 
 \ /
  Last update: 2015-12-19 07:41    [W:0.057 / U:2.128 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site