lkml.org 
[lkml]   [2014]   [Jul]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] checkpatch.pl: Remove --file option
From
Date
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.




\
 
 \ /
  Last update: 2014-07-19 08:01    [W:0.066 / U:0.360 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site