Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp127667imm; Tue, 17 Jul 2018 15:23:50 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfXp19BA7hvDLW7leYXST+GHswKQg1MLQbI8InPy+35CoCykb9SyEc4wPyDVQOSapGG9o1d X-Received: by 2002:a17:902:e005:: with SMTP id ca5-v6mr3356389plb.224.1531866230251; Tue, 17 Jul 2018 15:23:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531866230; cv=none; d=google.com; s=arc-20160816; b=qtx1YgC/Ka4nZGVKiWQt+2QiquIWO3O1Ecvb4I+cdy8gDKZMvEhQr2wgJEhYORmAku Y1G1rUA1mLJ82BIOYozwnHepdVPGd5wNcemQe+l34ep4FcijGSaDZM5up19bSW1MmQ2M coF74fRAsetXmc6LwnkA9MeeAbzE58jjmNoG9/1UXttrUnft2RJKwt7ZzacQnONRppti Hif7XAtSSYmGqbXdu9lz9fcLkm9dL9GUBZHL1HNGj3O0QQv71f8JSlxEy+FYG2S9Bod/ 18kj/g5TBHK8NAgJtHrDGchl6CzYuvky4lYmM4k1hXNDixmJpukkWk/fq/70S0Te8Of6 JHLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature:arc-authentication-results; bh=19UpH6ntFcT+jbAtwpGKDzQac1+16T5oT4ZsX2kuCKY=; b=fzNU+Sbs79kXQVIMQW0sYwGBsbQUzPpzQqI3jafGu4X/SNDMnwtRRowknQenVz1S6s QHlzvtkZTjUErVgEQGQsJtDJmO5W3h4Rjsb7X4hUOHdIDxSIDs1V0e9rSss08Pv6+SlU rk2PFNLXWNkGbnlk/aZKWCQ8fyEVvIEG7vzO/bS+0vETk09Yxzg2OvsZUcUjL6i8ZPgw AobQpw+iw4PrisEmI89s1hATZSFc9tSWai2CPrwby590mRdTgH7us5wogQqnchTKDwiU SRRrwTXIp+tCHmwDNmOyBuVCllHXfiFF0/m7yF3eSJPrJSQsH1Z0mM29PayXZ6IXcmpi d1Xg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=KbZwYYtu; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l192-v6si1818262pge.81.2018.07.17.15.23.35; Tue, 17 Jul 2018 15:23:50 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=KbZwYYtu; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731138AbeGQW5j (ORCPT + 99 others); Tue, 17 Jul 2018 18:57:39 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:49292 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729741AbeGQW5j (ORCPT ); Tue, 17 Jul 2018 18:57:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Content-Transfer-Encoding: Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Subject:Cc:To: From:Date:Sender:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=19UpH6ntFcT+jbAtwpGKDzQac1+16T5oT4ZsX2kuCKY=; b=KbZwYYtuTVgHEKAXHK3wg6BZG IrY49+0nsIhsrmA29wkJO/Hnm39qHLlZhKrJMHX1F7uEP9itgPJmcjflFTvgeMtueyGISGOo+3OFt NuoELLpuw9VY9ISgx0sr8QnA7uzaIaRN/Pds2H43A5iXai1Cb2mY6OGp9TvmsNg7eIxOtgbyMvbCL yKMZ0NAN+uLd71/97vIlZWzHRdGA7fv74QsbcnGg11AtAWdNvNzTDd0h5BwYEEXRCgcmP/FPSZBwf 7MLqTXyJJ5JxyXNjlSbC+6oB0DQIuVp234QhFUArnxrHiaEsYllsy/KgGsXAyssVLJJypNBpAM6Bq i54bzUfIA==; Received: from [121.135.244.1] (helo=vela.lan) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1ffYMv-0000r0-Nz; Tue, 17 Jul 2018 22:22:53 +0000 Date: Wed, 18 Jul 2018 07:22:46 +0900 From: Mauro Carvalho Chehab To: valdis.kletnieks@vt.edu Cc: Jonathan Corbet , Mauro Carvalho Chehab , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: PATCH scripts/kernel-doc Message-ID: <20180718072246.6070f2a1@vela.lan> In-Reply-To: <50400.1531846649@turing-police.cc.vt.edu> References: <50400.1531846649@turing-police.cc.vt.edu> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Tue, 17 Jul 2018 12:57:29 -0400 valdis.kletnieks@vt.edu escreveu: > Fix a warning whinge from Perl introduced by "scripts: kernel-doc: parse next structs/unions" > > Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.32), passed through in regex; marked by <-- HERE in m/({ <-- HERE [^\{\}]*})/ at ./scripts/kernel-doc line 1155. > Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.32), passed through in regex; marked by <-- HERE in m/({ <-- HERE )/ at ./scripts/kernel-doc line 1179. > > Signed-off-by: Valdis Kletnieks Reviewed-by: Mauro Carvalho Chehab > --- > diff --git a/scripts/kernel-doc b/scripts/kernel-doc > index 0057d8eafcc1..31a34ced55a3 100755 > --- a/scripts/kernel-doc > +++ b/scripts/kernel-doc > @@ -1152,7 +1152,7 @@ sub dump_struct($$) { > } > > # Ignore other nested elements, like enums > - $members =~ s/({[^\{\}]*})//g; > + $members =~ s/(\{[^\{\}]*})//g; > > create_parameterlist($members, ';', $file, $declaration_name); > check_sections($file, $declaration_name, $decl_type, $sectcheck, $struct_actual); > @@ -1176,7 +1176,7 @@ sub dump_struct($$) { > $declaration .= "\t" x $level; > } > $declaration .= "\t" . $clause . "\n"; > - $level++ if ($clause =~ m/({)/ && !($clause =~m/}/)); > + $level++ if ($clause =~ m/(\{)/ && !($clause =~m/}/)); > } > output_declaration($declaration_name, > 'struct', > Cheers, Mauro