Messages in this thread | | | Subject | Re: [PATCH 19/20 v3] sparc/mm/fault_32.c: Port OOM changes to do_sparc_fault | From | Joe Perches <> | Date | Mon, 26 Mar 2012 10:03:59 -0700 |
| |
On Mon, 2012-03-26 at 12:55 -0400, Kautuk Consul wrote: > Is it possible to include this kinda checking > (multiline statements with paranthesis checking assuming tab > indentation 8) in the > checkpatch.pl script ? > It would be easier to not make such mistakes in future with that kind of tool.
Funny you should ask...
Use the latest version of checkpatch and add the --strict option to the command line.
https://lkml.org/lkml/2012/3/2/15
It works for most cases.
| |