From: Sascha Hauer <s.hauer@pengutronix.de>
To: "Teresa Gámez" <t.gamez@phytec.de>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH] scripts/checkpatch.pl: reset rpt_cleaners warnings
Date: Wed, 25 Jul 2012 08:35:21 +0200 [thread overview]
Message-ID: <20120725063521.GH30009@pengutronix.de> (raw)
In-Reply-To: <1343130282-32096-1-git-send-email-t.gamez@phytec.de>
On Tue, Jul 24, 2012 at 01:44:42PM +0200, Teresa Gámez wrote:
> When running checkpatch against multiple patches and one
> of them has a whitespace issue, all following patches will
> contain the same note, even if they are ok.
>
> This patch is taken from the linux kernel:
>
> scripts/checkpatch.pl: reset rpt_cleaners warnings
> b0781216e7bff68aca2fbcd275b4db7531d1e22f
> Written by Mike Frysinger <vapier@gentoo.org>
>
> Signed-off-by: Teresa Gámez <t.gamez@phytec.de>
Applied, thanks
Sascha
> ---
> scripts/checkpatch.pl | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
> index 151c53a..0d94f98 100755
> --- a/scripts/checkpatch.pl
> +++ b/scripts/checkpatch.pl
> @@ -2934,6 +2934,7 @@ sub process {
> if ($rpt_cleaners) {
> print "NOTE: whitespace errors detected, you may wish to use scripts/cleanpatch or\n";
> print " scripts/cleanfile\n\n";
> + $rpt_cleaners = 0;
> }
> }
>
> --
> 1.7.0.4
>
>
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
prev parent reply other threads:[~2012-07-25 6:35 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-24 11:44 Teresa Gámez
2012-07-25 6:35 ` Sascha Hauer [this message]
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=20120725063521.GH30009@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=barebox@lists.infradead.org \
--cc=t.gamez@phytec.de \
/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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox