[lkml]   [2008]   [Jan]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: checkpatch: add filename before the summary line
On Sun, Jan 13, 2008 at 11:34:05PM +0100, Paolo Ciarrocchi wrote:
> With the patch applied the output of is as follow:
> ./arch/arm/mach-footbridge/ebsa285-pci.c
> total: 1 errors, 0 warnings, 48 lines checked
> Adding the file name allowed me to collects stats running:
> find . -name *.c |xargs ./scripts/ --file |grep -B 1 total
> but I though it might me useful for other purposes to add the file name
> after the list of errors and warnings and before the summary,
> when the list is long I find handy to print out the filename as a reminder.

Hmmm, that being unconfitional would probabally break a raft of other
users. Also would it be more useful to put it on the front of the
summary line? So that if you have a bunch of files to check then you
get something more like:

foo: total: 1 errors, ...
bar: total: 0 errors, ...


 \ /
  Last update: 2008-01-14 18:33    [from the cache]
©2003-2011 Jasper Spaans