[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<174043743202.3635590.16881580455531026695.git-patchwork-notify@kernel.org>
Date: Mon, 24 Feb 2025 22:50:32 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Breno Leitao <leitao@...ian.org>
Cc: davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org,
pabeni@...hat.com, horms@...nel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH net-next] net: Remove shadow variable in netdev_run_todo()
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@...nel.org>:
On Fri, 21 Feb 2025 09:51:27 -0800 you wrote:
> Fix a shadow variable warning in net/core/dev.c when compiled with
> CONFIG_LOCKDEP enabled. The warning occurs because 'dev' is redeclared
> inside the while loop, shadowing the outer scope declaration.
>
> net/core/dev.c:11211:22: warning: declaration shadows a local variable [-Wshadow]
> struct net_device *dev = list_first_entry(&unlink_list,
>
> [...]
Here is the summary with links:
- [net-next] net: Remove shadow variable in netdev_run_todo()
https://git.kernel.org/netdev/net-next/c/7183877d6853
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists