LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Andy Whitcroft <apw@shadowen.org>
To: Paolo Ciarrocchi <paolo.ciarrocchi@gmail.com>
Cc: Linux Kernel <linux-kernel@vger.kernel.org>
Subject: Re: checkpatch: add filename before the summary line
Date: Mon, 14 Jan 2008 17:30:32 +0000 [thread overview]
Message-ID: <20080114173032.GE19327@shadowen.org> (raw)
In-Reply-To: <20080113233405.5fcdaff5@paolo-desktop>
On Sun, Jan 13, 2008 at 11:34:05PM +0100, Paolo Ciarrocchi wrote:
> With the patch applied the output of checkpatch.pl 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/checkpatch.pl --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, ...
-apw
next prev parent reply other threads:[~2008-01-14 17:29 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-13 22:34 Paolo Ciarrocchi
2008-01-14 17:30 ` Andy Whitcroft [this message]
2008-01-14 22:13 ` Paolo Ciarrocchi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080114173032.GE19327@shadowen.org \
--to=apw@shadowen.org \
--cc=linux-kernel@vger.kernel.org \
--cc=paolo.ciarrocchi@gmail.com \
--subject='Re: checkpatch: add filename before the summary line' \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).