Messages in this thread | | | Subject | Re: [PATCH] checkpatch.pl: Remove --file option | From | Joe Perches <> | Date | Fri, 18 Jul 2014 07:35:26 -0700 |
| |
On Fri, 2014-07-18 at 16:24 +0200, Borislav Petkov wrote: > On Fri, Jul 18, 2014 at 04:17:42PM +0200, Lars-Peter Clausen wrote: > > --file is a in my opinion useful option and at least I use it on a > > regular basis. [] > diff -urN /dev/null $file | ./scripts/checkpatch.pl -
Using the one-liner above also makes it harder to automate checkpatch neatening and avoid using Lindent:
Something like: https://lkml.org/lkml/2014/7/11/794
checkpatch --terse and --emacs options, useful for editing lines where errors occur, no longer point to the line of the file being scanned and use the stdin filename "-" and the line # from stdin.
| |