Re: [PATCH net-next] net: filter: Avoid shadowing variable in bpf_convert_ctx_access()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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






[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux