Received: by 2002:ab2:3141:0:b0:1ed:23cc:44d1 with SMTP id i1csp1833585lqg; Mon, 4 Mar 2024 05:28:54 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCV43JWGW4n+aKGyqSyx8LToYIy8lR93r+K5KN9rGyF2PsdDHSZUQ1A+ySZ9WGIUHaajC5E5l3taCNS0oZKmrqUNjedL+q6ShXlMDhaMgw== X-Google-Smtp-Source: AGHT+IHs65pORL/lnMsBquZDr0skeBsiPztBBA/D8eBgyHWq91rrj8994vPR2Ib8oyUpPzVnHrg7 X-Received: by 2002:a50:c88b:0:b0:566:f60:1b0 with SMTP id d11-20020a50c88b000000b005660f6001b0mr6780641edh.11.1709558934136; Mon, 04 Mar 2024 05:28:54 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709558934; cv=pass; d=google.com; s=arc-20160816; b=JuLXm2exfY+HWZwqNYBNtsnBMVicvy1y1SSAJh6HmiSQ7GpxOWa3MHXpuzLm7vQf8V 0oNg7siDdntdRSveHjMseP7I9Ca89cEhHm6cogxWAPDufUqER8q15YAmvl4rmZoSLDvU dTtU6KT8qd9eoHZ+agJPW0zwV8m9JvNXM6BpOYSlWMCNiLS7sXcIcWX7AGWx3Cy/awaX obf1KFlVmDCDTwS9V4AyFG1WY1nVw27okQv6g2xe6HEIxT5P+nl6Scuc74MWCDkW8nUU 09zk9H9GQYhY726UVhtX6Ve2vmlNzFYTdXT8NPDKgwPO2zKYx/f+TJWU9jRkCeN/qCwr eQvQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=GOrLCQs8g+PWHCwTp2tg+wg5WqB4WXF2M/HOLfsGT/8=; fh=pbWZfGy6EFfNcZBvHCXWlB13mVRYUzJNdy+F4t8kzXA=; b=iL5XCDzga9Ah0p2wtStquvYJjDo6REaq2gtt7BH7E/j6bDcVeS7bVzZSJaN6ITSh1O I0Qo6tllyFhz0sRR90VzRA3U45TyKWQiVh6v6UTX3AAAYJAQQeuKBukODCVnjPJNu0QN jk4JdwpkBNjPwYwyRbEvyp53/cqFh3l9ORCwI/xAxM/AdqprqPeZ0o4T2Qf2nt7EtAo1 rNdu1CluwHJ8E1DssLUrVqBpLxtyVH90j7vLFocCUcSZl5p9fcI32i6sOxAhXAocV7gR 2qOVXmpUnH4F2WhyI4jqbw+Hw5o457DzVKD9U3InbfNVTVh+unQ3WmxB7dJhyVJRhb7i iI8g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=0tlxS6qV; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-90645-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-90645-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id y6-20020a056402270600b00566a8a47811si3839780edd.80.2024.03.04.05.28.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Mar 2024 05:28:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-90645-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=0tlxS6qV; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-90645-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-90645-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 2D1001F26C72 for ; Mon, 4 Mar 2024 13:27:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 47A403D997; Mon, 4 Mar 2024 13:27:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="0tlxS6qV" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5A0733D579; Mon, 4 Mar 2024 13:27:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709558852; cv=none; b=AebEmkeLPx3NsJJagoE2zWiqQysUssXK7pTykxblb0tmaJX0t8JNyc43ockhmL6spcLJosLpqA4Ynd0TBK8BVnjtkL/EB10hdnQSRvEcq2snz4OtDlUzUsKD6ufZYgaz9t30vTCUTSZU1sKl4CPu/HIwJZ3M7LdnZGi2/l8A2e4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709558852; c=relaxed/simple; bh=AXT83CsKS04YlrnMU/ETXsCuo5f4Okc9c/ART/JBAD8=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=mxdMeKGwGcEU8+P1IctlF0+ynVolL77j9sn0xjSLGroohDAHZ4siajpNTJNaoSKAeFtZEFFQtFoVAn2m1+BziDqS7wXN7JwZRVL7KAq1lHq5h0PpZVofTw/FlGaDVvy8R808Q0CSOFoNmLFEaBbcI47Ub11Rn9a4zf0oeQluWLk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=0tlxS6qV; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8BBC1C43390; Mon, 4 Mar 2024 13:27:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1709558851; bh=AXT83CsKS04YlrnMU/ETXsCuo5f4Okc9c/ART/JBAD8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=0tlxS6qVrdvzqApIqQuYs8I3eEuFgwlc+COKdoQ3ERDdpxCGpc/DDeGYuETJNPzI7 xb6dqhGYn770z46p21tEFvimEoKrscjPCGydoEdmXSoiVChbwYjFByr4tEDYJxPFS/ Ze2YUvOwkH0CQ+xedYdNgA8t3C8VnCVnlpuuIWLw= Date: Mon, 4 Mar 2024 14:27:29 +0100 From: Greg Kroah-Hartman To: Salvatore Bonaccorso Cc: regressions@lists.linux.dev, stable@vger.kernel.org, Ben Hutchings , Kees Cook , Jonathan Corbet , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, Aditya Srivastava , 1064035@bugs.debian.org Subject: Re: [regression 5.10.y] linux-doc builds: Global symbol "$args" requires explicit package name (did you forget to declare "my $args"?) at ./scripts/kernel-doc line 1236. Message-ID: <2024030412-street-phoenix-882e@gregkh> References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Fri, Mar 01, 2024 at 01:31:10PM +0100, Salvatore Bonaccorso wrote: > Hi, > > Ben Hutchings reported in https://bugs.debian.org/1064035 a problem > with the kernel-doc builds once 3080ea5553cc ("stddef: Introduce > DECLARE_FLEX_ARRAY() helper") got applied in 5.10.210 (as > prerequisite of another fix in 5.10.y): > > > The backport of commit 3080ea5553cc "stddef: Introduce > > DECLARE_FLEX_ARRAY() helper" modified scripts/kernel-doc and > > introduced a syntax error: > > > > Global symbol "$args" requires explicit package name (did you forget to declare "my $args"?) at ./scripts/kernel-doc line 1236. > > Global symbol "$args" requires explicit package name (did you forget to declare "my $args"?) at ./scripts/kernel-doc line 1236. > > Execution of ./scripts/kernel-doc aborted due to compilation errors. > > > > This doesn't stop the documentation build process, but causes the > > documentation that should be extracted by kernel-doc to be missing > > from linux-doc-5.10. > > > > We should be able to fix this by eithering backport commit > > e86bdb24375a "scripts: kernel-doc: reduce repeated regex expressions > > into variables" or replacing /$args/ with /([^,)]+)/. > > > > Ben. > > What would be prefered here from stable maintainers point of view? > AFAICS e86bdb24375a ("scripts: kernel-doc: reduce repeated regex > expressions into variables") won't apply cleanly and needs some > refactoring. The alternative pointed out by Ben would be to replace > the /$args/ with /([^,)]+)/. I'll take a patch that does either, your call :) thanks, greg k-h