Re: [PATCH net-next] net: filter: Avoid shadowing variable in bpf_convert_ctx_access()
From: patchwork-bot+netdevbpf
Date: Mon Mar 03 2025 - 18:38:33 EST
Hello:
This patch was applied to bpf/bpf-next.git (master)
by Martin KaFai Lau <martin.lau@xxxxxxxxxx>:
On Fri, 28 Feb 2025 10:43:34 -0800 you wrote:
> Rename the local variable 'off' to 'offset' to avoid shadowing the existing
> 'off' variable that is declared as an `int` in the outer scope of
> bpf_convert_ctx_access().
>
> This fixes a compiler warning:
>
> net/core/filter.c:9679:8: warning: declaration shadows a local variable [-Wshadow]
>
> [...]
Here is the summary with links:
- [net-next] net: filter: Avoid shadowing variable in bpf_convert_ctx_access()
https://git.kernel.org/bpf/bpf-next/c/122f1fd14f44
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html