From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756633AbcKCJQq (ORCPT ); Thu, 3 Nov 2016 05:16:46 -0400 Received: from smtprelay0219.hostedemail.com ([216.40.44.219]:55398 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1755853AbcKCJQp (ORCPT ); Thu, 3 Nov 2016 05:16:45 -0400 X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,joe@perches.com,:::::::::::::::,RULES_HIT:41:355:379:541:599:800:960:973:982:988:989:1260:1277:1311:1313:1314:1345:1359:1373:1431:1437:1515:1516:1518:1534:1541:1593:1594:1711:1730:1747:1777:1792:1981:2110:2194:2199:2393:2559:2562:2610:2828:3138:3139:3140:3141:3142:3353:3622:3865:3866:3867:3868:3870:3872:3874:4321:5007:6120:7208:7875:7903:9113:9405:10004:10400:10848:10967:11232:11658:11783:11914:12296:12555:12740:12986:13069:13161:13229:13311:13357:13439:13894:14093:14097:14181:14659:14721:21080:21324:21433:21451:30054:30064:30091,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,LFtime:12,LUA_SUMMARY:none X-HE-Tag: plant38_57997d5496f1c X-Filterd-Recvd-Size: 2552 Message-ID: <1478164600.1924.18.camel@perches.com> Subject: Re: [RFC PATCH] get_maintainer: Look for arbitrary letter prefixes in sections From: Joe Perches To: Paul Bolle , Jani Nikula , linux-kernel Cc: intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, daniel@ffwll.ch, airlied@gmail.com, akpm@linux-foundation.org Date: Thu, 03 Nov 2016 02:16:40 -0700 In-Reply-To: <1478164043.1911.6.camel@tiscali.nl> References: <1476966135-26943-1-git-send-email-jani.nikula@intel.com> <1477332323.1984.8.camel@perches.com> <1478164043.1911.6.camel@tiscali.nl> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.22.1-0ubuntu2 Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2016-11-03 at 10:07 +0100, Paul Bolle wrote: > On Mon, 2016-10-24 at 11:05 -0700, Joe Perches wrote: > > Jani Nikula proposes patches to add a few new letter prefixes > > for "B:" bug reporting and "C:" maintainer chatting to the > > various sections of MAINTAINERS. > > > > Add a generic mechanism to get_maintainer.pl to find sections that > > have any combination of "[A-Z]" letter prefix types in a section. > > > > Signed-off-by: Joe Perches > > This patch made it into linux-next (ie, next-20161028). > > > --- a/scripts/get_maintainer.pl > > +++ b/scripts/get_maintainer.pl > > @@ -271,7 +273,8 @@ $output_multiline = 0 if ($output_separator ne ", "); > >  $output_rolestats = 1 if ($interactive); > >  $output_roles = 1 if ($output_rolestats); > >   > > -if ($sections) { > > +if ($sections || $letters ne "") { > > +    $sections = 1; > > This triggers: >     Unrecognized character \xA0; marked by <-- HERE after <-- HERE near column 1 at ./scripts/get_maintainer.pl line 277. > > Git blame shows: >     git blame -L 277,+1 ./scripts/get_maintainer.pl > b67071653d3fc (Joe Perches 2016-10-28 13:22:01 +1100 277) $sections = 1; > > (A0 seems to be the no break space. That character was inserted more > often further down the patch.) > > Anybody else seeing this? Yes, it's been reported and should be fixed in -mm. The fix should show up in -next in a little bit. For now, try: $ sed -i -e 's/\xA0/ /g' scripts/get_maintainer.pl cheers, Joe