Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753857AbbFAPur (ORCPT ); Mon, 1 Jun 2015 11:50:47 -0400 Received: from smtprelay0040.hostedemail.com ([216.40.44.40]:40290 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753579AbbFAPu1 (ORCPT ); Mon, 1 Jun 2015 11:50:27 -0400 X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,joe@perches.com,:::::,RULES_HIT:41:69:355:379:541:599:968:982:988:989:1260:1277:1311:1313:1314:1345:1359:1373:1437:1515:1516:1518:1534:1541:1593:1594:1711:1730:1747:1777:1792:2393:2559:2562:2828:2919:3138:3139:3140:3141:3142:3352:3622:3653:3865:3867:3868:3871:3872:3873:4321:5007:6119:6261:7903:7904:10004:10400:10848:11232:11658:11914:12043:12517:12519:12683:12740:13069:13095:13311:13357:21080,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fn,MSBL:0,DNSBL:none,Custom_rules:0:0:0 X-HE-Tag: wish64_781627e96a147 X-Filterd-Recvd-Size: 1846 Message-ID: <1433173824.4861.8.camel@perches.com> Subject: Re: [PATCH] checkpatch: Make the output better readable From: Joe Perches To: Petr Mladek Cc: Andy Whitcroft , linux-kernel@vger.kernel.org Date: Mon, 01 Jun 2015 08:50:24 -0700 In-Reply-To: <1433168737-17009-1-git-send-email-pmladek@suse.cz> References: <1433168737-17009-1-git-send-email-pmladek@suse.cz> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.12.11-0ubuntu3 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1264 Lines: 39 On Mon, 2015-06-01 at 16:25 +0200, Petr Mladek wrote: > I always have troubles to parse checkpatch.pl output when I check > the whole patchset. It is hard to say which messages belongs to > what patch. > > This patch does few small changes to make the output look better > for me: > > + delimit each patch from each other with dashes and empty line > + remove empty line after the summary I've no objection about this, but don't much care either. > + print message about false positives only once This bit seems sensible, thanks. > diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl [] > @@ -720,8 +720,14 @@ my @fixed_deleted = (); > my $fixlinenr = -1; > > my $vname; > +my $filenum = 0; > for my $filename (@ARGV) { > my $FILE; > + > + if ($filenum++ && $quiet == 0) { > + print "--------------------------------------------------------------------------------\n"; Perhaps more perlish would be print '-' x 81 . '\n\n'; Dunno why you chose 81 though, it seems an unusual number. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/