🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #25924

Re: [PATCH net] tools: ynl: reject missing regen path argument

#25924
From: patchwork-bot+netdevbpf
Date: Wed, 02 Dec 2026 18:20
24 lines
8633 bytes
Hello:

This patch was applied to netdev/net-next.git (main)
by Paolo Abeni <pabeni@redhat.com>:

On Wed, 25 Nov 2026 15:03:54 +0800 you wrote:
> ynl-regen.sh expects -p to be followed by a path.  If -p is
> passed without an argument, $2 is empty and shift 2 fails without
> consuming $1.  The option parser then keeps looping on -p until
> the caller kills the script.
> 
> I found the issue by manual code inspection and validated it with:
> 
> [...]

Here is the summary with links:
  - [net] tools: ynl: reject missing regen path argument
    https://git.kernel.org/netdev/net-next/c/c63b67b946fc

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID: <179623560500.2114100.11152965995839062782.git-patchwork-notify@kernel.org>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu.MISMATCH!feed-us-txt.newsdeef.eu!feed-us-ny.newsdeef.eu!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-375993-linux-kernel-netdev=dewy.ru
References: <20261125070354.18200-1-zhiqizhangg@gmail.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu.MISMATCH!feed-us-txt.newsdeef.eu!feed-us-ny.newsdeef.eu!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-375993-linux-kernel-netdev=dewy.ru
From: patchwork-bot+netdevbpf@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net] tools: ynl: reject missing regen path argument
Date: Wed, 02 Dec 2026 18:20:05 +0000
Organization: Usenet Network
Message-ID: <179623560500.2114100.11152965995839062782.git-patchwork-notify@kernel.org>
References: <20261125070354.18200-1-zhiqizhangg@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="2029295"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:7ZwUtHLQoRt4blZ1P8H1phoYuRU= sha256:tj0UTYo/ZZMWgkI4CxTvY7/YQixMqv/32PJloaDparw=
	sha1:W0CNoHM3o2MCEVDI9RQjRhuBCRg= sha256:pkpwNl0Gnp6JmKjcnYe/eDFC6oJ5JoAqlII5GDFlA+s=
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
	by mail.dewy.ru (Postfix) with ESMTP id 97C8F1176F2; Wed,  2 Dec 2026 21:20:22 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.4
X-Spam-Status: No, score=-3.4 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1,
	DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
	MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001,
	SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
	header.d=kernel.org
X-Received: from mail.dewy.ru ([127.0.0.1])
	by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id lEMHRmbrap61;
	Wed,  2 Dec 2026 21:20:18 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-375993-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org
X-Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114])
	by mail.dewy.ru (Postfix) with ESMTPS id 9FDC91176EF; Wed,  2 Dec 2026 21:20:09 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by tor.lore.kernel.org (Postfix) with ESMTP id 396D624F66; Wed,  2 Dec 2026 18:20:08 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1796235607;
	b=QYab1ScH0rcWfKbI2dMSVE+6XdvH/k0wTzaG7cLXSjIVdgQfKrtXda6zuvo8BqBFMBxo
	 uq1vYNlVKb3TZp6sURkAjVB0WqQ0m1JsBs931HoKH8k+5fgof8gsT1Bd6vAYTPLkHjTgf
	 Gz9K29KC+RdGsP6TO8pt4WfGZh+ztmHr+yAisfItqx12xcRE0WWzFC0gP0vr0PjDQbTp+
	 +zj151mNQREBigKAFFwfN75DpsggCJrkkOlZwsv8uxNbrh4pylOraiv49JWBQRlxAtRGy
	 +prIIWp2n24IL/5yajNDOxcoILKFO1zFeDZwPPptEHKzWBVLWI0T8dyNt0y4Ojwn8lA==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1796235607;
	h=X-Original-To:Received:Received:DKIM-Signature:Received:Content-Type:
	 X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe:
	 List-Unsubscribe:List-Owner:Precedence:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=ujAS+9tWUfev9ULs8FODNXZLC00UbStqiVwRrqw5vs8=;
	b=ApH2ctinJVdY8Vf7ko3j6fVoYQNyo8qOx/HGf3ltcl07RRCCRhfxX8ghudpbNBXB20vK
	 ovKIbzL+OCJZasA6OGynFC5IPxkcf5H2gGhj93Ut13uNmsBH0xHN4x2CCTHmgqj5dksqi
	 3XUChYiw3U3A1nJIp/kHQFZ44jslA0p7uF+/HzPD9QQDO8+xh/1xOMIFVrEbnG0E8BtCH
	 8LFE47LKCWmHQpKV3/6vdpHRGMeMfOhBIJaDN2XVFgS6SB/XevP+ECtH8ijVkw3C9tfkU
	 JEebf8me4o80AZazmqCyU8qTo2CISzUcKUX4LD5oB71TKYN1gbfl3055HJ10JHWHZBA==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=kPlYO1B0;
	arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id 96386606A337;
	Wed,  2 Dec 2026 18:20:07 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=kPlYO1B0
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1796235606;
	b=R4RqY9Sw6ok7MXiVG+bdd3mTYka7rATemXibrDL+2FM4m5MkovZqUQMU1mxX2av6f4WJ
	 IQnkhjRVtpOcvKtNItoQ4un72NnfJmWtfstRJGUjcy9EMBrDGif8RHS343LodcU/j9KEw
	 775kBq1v0IUzS1g9+HRN+tLssb7bOhVkeO7Dp9d6HL0HpveT8J0AebPkVpb06jpP1st5U
	 U3xqD+2rLpCtDAcnd1zNJPmKLLEPDFLQmN3lyJyFYKP04ItpG6GLGUVmBXtgNaQuXde54
	 yyPkBowZJE2lUw42NopUL/LptguKOjyLc+9kk26QORq2o7jTdDi/CUZPjpnIeG4zFJg==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1796235606;
	h=Received:DKIM-Signature:Received:Content-Type:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=ujAS+9tWUfev9ULs8FODNXZLC00UbStqiVwRrqw5vs8=;
	b=rJDhxY6E6kFHJDo6FX/IdpPqXF3xyhvMfDN5amd7hS+lek96N4JuKNSfFUlikYyD2Jdx
	 abmlgntMdn/Vs6y/mAxD0IC3trIdZjKn/ftEzSNwuoWoJ+BtoD0gy5pzImfQ8MQG8Ztz8
	 H8tf0oTJA/cednj37VCidWOmxC9kMUU4IWrJ2OwuY60TTqtPqm6pxR2Wdfi+PtgCvz/y3
	 zS8Fo9owuFU2HdHl/GZlLUh+m9Rd9yHteTnb0EtOvR/kI24hIg9qOkOGi+I1Cr548Smg2
	 OFJQcGBRa+I2TMMTE+djcCWJmkBhxa8gI6QnSifhUZt4BTrm3DL1e/Qx8NLiLQobfSQ==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=kPlYO1B0;
	arc=none smtp.remote-ip=100.103.45.18
X-Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature ECDSA (prime256v1))
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id B5A38606A322;
	Wed,  2 Dec 2026 18:20:06 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3C6391F00893;
	Wed,  2 Dec 2026 18:20:06 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1796235606;
	bh=ujAS+9tWUfev9ULs8FODNXZLC00UbStqiVwRrqw5vs8=;
	h=Subject:From:Date:References:In-Reply-To:To:Cc;
	b=kPlYO1B0o8oylaF/ro95jFDphIvxfgRdsnXU/Cs0/Cy76P6l1AtTcLqPMLHN093rL
	 71rIKa9d9CO0rnjoZcW3KaenhaUK//2bX4t+O9mfOU7vVLBV8ae+vvzXEUFNoGvoM2
	 2obibYap33WkZE2lwLHd67pZXjvuMbQAuPw5IEp3bbYnDS3hRf9ancbZHa+S/NPio7
	 g3EbZpHHXwv+P5cmQczYyeFzkUjWYTQXGENyeWavBta0i/XQKpKZ04mRXiU7jYkP7W
	 WSQi6/vxCt/Eq45loXc5RSaSvNSwQXjW3wyL5vr9WV8feIs1D08cxxRfXMhwp9RWp9
	 bbvpOKDyD1ZNA==
X-Received: from [10.30.226.235] (localhost [IPv6:::1])
	by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id 347433808236;
	Wed,  2 Dec 2026 18:20:06 +0000 (UTC)
X-Mailing-List: netdev@vger.kernel.org
X-List-Post: <mailto:netdev@vger.kernel.org>
X-List-Help: <mailto:netdev+help@vger.kernel.org>
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:netdev+owner@vger.kernel.org>
X-Precedence: list
X-In-Reply-To: <20261125070354.18200-1-zhiqizhangg@gmail.com>
X-Cc: donald.hunter@gmail.com, kuba@kernel.org, davem@davemloft.net,
 edumazet@kernel.org, pabeni@redhat.com, horms@kernel.org,
 netdev@vger.kernel.org, linux-kernel@vger.kernel.org