Article View: linux.kernel.netdev
Article #25879Re: [PATCH iproute2-next 00/10] fix shadowed variable warnings
From: patchwork-bot+netdevbpf
Date: Wed, 02 Dec 2026 16:40
Date: Wed, 02 Dec 2026 16:40
50 lines
10430 bytes
10430 bytes
Hello:
This series was applied to iproute2/iproute2-next.git (main)
by David Ahern <dsahern@kernel.org>:
On Mon, 30 Nov 2026 10:47:01 -0800 you wrote:
> Shadowed variables cause bugs. Fix the ones already in the tree, then
> turn on -Wshadow so new ones don't get in.
>
> Stephen Hemminger (10):
> xfrm: rename shadowed SA direction local
> ip address: rename the shadowed parameter of ipaddr_reset_filter()
> lib: rename parameters that shadow globals
> xfrm: rename local netlink handles that shadow the global rth
> tc: rename and drop shadowing locals
> ip: rename and drop shadowing locals
> ifstat: rename shadowing local
> bridge, devlink, rdma: rename shadowing locals
> ss: fix shadowed variable warnings
> Makefile: enable shadowed variable warnings
>
> [...]
Here is the summary with links:
- [iproute2-next,01/10] xfrm: rename shadowed SA direction local
https://git.kernel.org/pub/scm/network/iproute2/iproute2-next.git/commit/?id=b71517b9fbd1
- [iproute2-next,02/10] ip address: rename the shadowed parameter of ipaddr_reset_filter()
https://git.kernel.org/pub/scm/network/iproute2/iproute2-next.git/commit/?id=0591210f1188
- [iproute2-next,03/10] lib: rename parameters that shadow globals
https://git.kernel.org/pub/scm/network/iproute2/iproute2-next.git/commit/?id=132fad2e121f
- [iproute2-next,04/10] xfrm: rename local netlink handles that shadow the global rth
https://git.kernel.org/pub/scm/network/iproute2/iproute2-next.git/commit/?id=16acf5a03a9a
- [iproute2-next,05/10] tc: rename and drop shadowing locals
https://git.kernel.org/pub/scm/network/iproute2/iproute2-next.git/commit/?id=54be381f73e6
- [iproute2-next,06/10] ip: rename and drop shadowing locals
https://git.kernel.org/pub/scm/network/iproute2/iproute2-next.git/commit/?id=c188a75a59b8
- [iproute2-next,07/10] ifstat: rename shadowing local
https://git.kernel.org/pub/scm/network/iproute2/iproute2-next.git/commit/?id=3df7c4f317f1
- [iproute2-next,08/10] bridge, devlink, rdma: rename shadowing locals
https://git.kernel.org/pub/scm/network/iproute2/iproute2-next.git/commit/?id=0044b54dac02
- [iproute2-next,09/10] ss: fix shadowed variable warnings
https://git.kernel.org/pub/scm/network/iproute2/iproute2-next.git/commit/?id=d01e6a772ad2
- [iproute2-next,10/10] Makefile: enable shadowed variable warnings
https://git.kernel.org/pub/scm/network/iproute2/iproute2-next.git/commit/?id=a1518840a86c
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID:
<179622961349.2048714.3904959372413915215.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!feed-eu-txt.newsdeef.eu!feed-eu-ch.newsdeef.eu!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!2.eu.feeder.erje.net!feeder.erje.net!feeder2.feed.ams11.usenet.farm!feed.usenet.farm!feeder.usenetexpress.com!tr3.eu1.usenetexpress.com!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-375934-linux-kernel-netdev=dewy.ruReferences:
<20261130184752.545119-1-stephen@networkplumber.org>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!feed-eu-txt.newsdeef.eu!feed-eu-ch.newsdeef.eu!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!2.eu.feeder.erje.net!feeder.erje.net!feeder2.feed.ams11.usenet.farm!feed.usenet.farm!feeder.usenetexpress.com!tr3.eu1.usenetexpress.com!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-375934-linux-kernel-netdev=dewy.ru From: patchwork-bot+netdevbpf@kernel.org Newsgroups: linux.kernel.netdev Subject: Re: [PATCH iproute2-next 00/10] fix shadowed variable warnings Date: Wed, 02 Dec 2026 16:40:13 +0000 Organization: Usenet Network Message-ID: <179622961349.2048714.3904959372413915215.git-patchwork-notify@kernel.org> References: <20261130184752.545119-1-stephen@networkplumber.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="2011705"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:AzHH1frzrAdDeRCWY5bsH+6UJyg= sha256:BbQsZkfis2FUfhXyGnGGn2GmiNWDhtn5kAAa4oFkRIQ= sha1:cMouqI4K3iAFTwVoUoJaxMqt7X4= sha256:6pW0Mm3pZFFcc/aB6IzKDu0+fTLL39GPsy8ti5lN4pw= 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 02E8E117634; Wed, 2 Dec 2026 19:40:40 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.401 X-Spam-Status: No, score=-3.401 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] 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 PgYdw-Xzjpxr; Wed, 2 Dec 2026 19:40:35 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-375934-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 sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10]) by mail.dewy.ru (Postfix) with ESMTPS id E58901176AC; Wed, 2 Dec 2026 19:40:24 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by sea.lore.kernel.org (Postfix) with ESMTP id 4D8542D9FE; Wed, 2 Dec 2026 16:40:16 +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=1796229616; b=F6527eEkXSIoEwBdcpnaWyfliS6xc5dboIL8DD3i+lxAEnIxxHik6svZPuyKgMslzL0x dqrnxlM3AwXG8HPZ9FrNj0GkL2DFbI/x7TaGUC3iHF+rd9JtkFol1z7NZQQGoZG2jzD2z FAB5i0RaCKLck48JNd92cetRYoJn6KmeoRh0+SdNHoeEcr4PIhxqQIUrZLiNCx0hXScsD Ncy3ZsXSUVgQVCGAqKzDJnKePlf1BmPJm14sJZBqNO+wlMHyygB1Jbi4QnCyoMkgPYhTt SZ26+kemNEKya9ak+QqQsMOvd4JJFbEYTAuSi9lFc6zeopLKnQmQSpVwwo1GcRvHuDA== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796229616; 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=dNbdVyMnpT4PZxrEEsXNznPKC7rXefIwVWCnrpjo7Co=; b=GuRK/pcWY6c1dJNaVmyssPg0v3kJ1GULHq3pWumM0/nDAZGobXWAKiZnh2FQqjCU45Gg xtGSwZEpwXzhqxaUJZCGNCFPXDd2qhLZ2zXHnUP8RActtcD1l0X3RYhTBJEQQ87ZRf7fo 8wWpGKn7m09YFCmLO1dl3/Z48dyysaNeiwoFShdTO09CvHrIR9I5qik96muAy84J7sPW3 oiL8g3yOnKg94qQn5dBxm0sZDEHzlOODi1ITI3q9eVt+oaK7tZEg3Gbu+nVgNZiF9F6mf AxUAbMMcIxTMyabZq26paZAqOk/8luG5wn3mHWOOwF02fqKh4/pbGIpSMBfxhQLcwdQ== 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=oF+ElF8r; 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 25416606A327; Wed, 2 Dec 2026 16:40:16 +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=oF+ElF8r 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=1796229615; b=SxFg2zy0rea/DPjdCr49aNynlqwCYYQv/nRT4B15XBR2/IfWQbqPxJ3V9M/3IuXrgUgx 6iTRlHPAZAqWadaSMvPdPoyTjs1Ufz/R8DuI465p95zHtCYOss9WCnMUbbD2rq63GbvQd A+rMAdAXNCcJBF4xH7nb2IgtTUrlv9MNK+7AIYHTKPVRXAz7pcyxB/MMTwt0SFrMXCel7 QlvdTfKpnluJWeuzU4Rc3B3v2UnutlVyipf7GOoGKXzfpp4tF75Z4vbEUARpm6qHkP1i5 BikT3AdS4HUHhF3y8/PvuX/O/fyMtoicgY4byRDquG2PP2E8fjVqHMr1I1jA2UWBaxQ== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796229615; h=Received:DKIM-Signature:Received:Content-Type:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=dNbdVyMnpT4PZxrEEsXNznPKC7rXefIwVWCnrpjo7Co=; b=KTyAhg2H9zkG5exr0Ad2fP2WMAq3vdk1HG4Cj9magVCJDsqzFHpW4X1EOvEL3fnl7Rgp tikMDjUjqIJ+Hj2/wQ+OaGbQLFPs0Mke8YDRrh6D19lDE6wQuBdVNPowHpIzWlwrq/fPc Ts/IfIuqEfCQJEYRjrqst+gHMASe9UOgpJBvHCkiG0HJs1sf8GWNx1gYlOw5y40i9PHnJ 7znCf9N9ra/QCdogw6lNx2MBju1p84BRJ8VzXqXtcH69iBLELsxIwcjEqPiw//pzpSti+ 24aN8ELOQp/nWn2eQlT+KPnJU/fXwmz/QjdAq8FIx3NMwps4ZYKk5CQmQJHpQ5ATKlw== 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=oF+ElF8r; 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 46A80606A32F for <netdev@vger.kernel.org>; Wed, 2 Dec 2026 16:40:15 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 05B611F0092F; Wed, 2 Dec 2026 16:40:15 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796229615; bh=dNbdVyMnpT4PZxrEEsXNznPKC7rXefIwVWCnrpjo7Co=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=oF+ElF8r3MSTeuCtYUiTvx7QsDP5lajkQO3FM3G8CxB1yJQNaKuOJJb1pmuoZeh1A UBiSjde2aNXQjzeOJo45HxmrKlwwzeCIbWETh2lFlYlWaiZogBm4IFMZYWJhQKQ6bj c0X9FKvpOcOaMxiosFiTj/nd5rbAdaHBLfwczFCe+0GVWaj2c0M/dCt3qMvJ6NhwY9 dAsiv9+XzCw7MWwVZZKJJtbuOxsKccszgjO8WrY2bc1VcmNB9S0x3GtqspXZai/8f8 j4hXG9Ufbl2+4Q3lpqRlOFqDCo9yHnE+3WL64Zqygj41YpzHftXdJSTG1smKUp5jxO W/ZGbh8bpEShw== 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 EB7E63808236; Wed, 2 Dec 2026 16:40:14 +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: <20261130184752.545119-1-stephen@networkplumber.org> X-Cc: netdev@vger.kernel.org, dsahern@kernel.org