Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1830312imm; Mon, 3 Sep 2018 10:31:47 -0700 (PDT) X-Google-Smtp-Source: ANB0Vda1/WVzn5yIT/pOVYqSYwQR84Gv4iVhC2brTJyy8AjnAO18Yaa80A9MmKdvJ8vCWwGiQcQT X-Received: by 2002:a63:9a02:: with SMTP id o2-v6mr8916063pge.440.1535995907801; Mon, 03 Sep 2018 10:31:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535995907; cv=none; d=google.com; s=arc-20160816; b=n/jM29K1YjBpEe82iNcnI7BjkZC+9SeydFDEJgY66ebdlv743vIgPau5RYUv81bHrl Wj+v7UtA3j02opHoulAyVKBm0wg/exXHkU7jZtv2MIFzNJ2B0QATujN0wmHx993O2lUy d852dQP/kQEZhhSxrdPDrTz0SjAbA3Q20xZD371yuuGgDmhl0l9rmz1uKYOjZwt/NbjK dVmhr+OU7DEAAxTh8MOmg5zyOqoJHZs6Xd2n1DCtGyjH97++0fuRP8xujcpA6FUHUYgA MY37hJ8Z1VacJya58L22JmtnRrQKhmfF7UjKu63s7xRoekiL12YezjPsQ1L8lhlItSNf OulQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=m/gq1JSH9jW8QkG/A1kLKMNLtlRiAlzsf8k2jHQHdd8=; b=pxJJJYblaECt+9loWUK7KMKS/h0Y0XFnU/eQJTp7/XcGLM9uG9QNrvN3LhWvzKdYgs o/QgFYxhh5BsGSiZzE2i6UFhLPnOWikHGZ5tE/iMQRslUgoycZmTtcx2JeXghePUC0pf D5Gb1hN1Rqa9IkZcLSHi+juhZQqu3w5l9DM/D/j+i8B7WRSzbMdEx4LUyku7iFOf+eRz QVu5ibhQOX7ZaF9rxlM2WjmWsqlNkEjxl9EvMN4r+rzkjWV9XoyvEazWk5BiRMPyjA/F i4qpOruTUD7wqpbPorBPF5UYNzL5A9rdu0UJa/mNoM0VOXd1iQnCoabcySkmAGpMw6Fi AZLA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 142-v6si20710453pfy.182.2018.09.03.10.31.32; Mon, 03 Sep 2018 10:31:47 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731261AbeICVuU (ORCPT + 99 others); Mon, 3 Sep 2018 17:50:20 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:46540 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728733AbeICVuT (ORCPT ); Mon, 3 Sep 2018 17:50:19 -0400 Received: from localhost (ip-213-127-74-90.ip.prioritytelecom.net [213.127.74.90]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 0F595D01; Mon, 3 Sep 2018 17:29:10 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Valdis Kletnieks , Mauro Carvalho Chehab , Jonathan Corbet , Nathan Chancellor Subject: [PATCH 4.18 001/123] PATCH scripts/kernel-doc Date: Mon, 3 Sep 2018 18:55:45 +0200 Message-Id: <20180903165719.557078764@linuxfoundation.org> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180903165719.499675257@linuxfoundation.org> References: <20180903165719.499675257@linuxfoundation.org> User-Agent: quilt/0.65 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.18-stable review patch. If anyone has any objections, please let me know. ------------------ From: Valdis Kletnieks commit 701b3a3c0ac42630f74a5efba8545d61ac0e3293 upstream. 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 Signed-off-by: Jonathan Corbet Cc: Nathan Chancellor Signed-off-by: Greg Kroah-Hartman --- scripts/kernel-doc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- 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',