Re: [PATCH] bpf: fix -Wshadow warnings

2020-10-27 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to bpf/bpf.git (refs/heads/master): On Mon, 26 Oct 2020 17:20:50 +0100 you wrote: > From: Arnd Bergmann > > There are thousands of warnings about one macro in a W=2 build: > > include/linux/filter.h:561:6: warning: declaration of 'ret' shadows a > previous local

Re: [PATCH] bpf: fix -Wshadow warnings

2020-10-26 Thread Andrii Nakryiko
On Mon, Oct 26, 2020 at 12:37 PM Arnd Bergmann wrote: > > From: Arnd Bergmann > > There are thousands of warnings about one macro in a W=2 build: > > include/linux/filter.h:561:6: warning: declaration of 'ret' shadows a > previous local [-Wshadow] > > Prefix all the locals in that macro with __

[PATCH] bpf: fix -Wshadow warnings

2020-10-26 Thread Arnd Bergmann
From: Arnd Bergmann There are thousands of warnings about one macro in a W=2 build: include/linux/filter.h:561:6: warning: declaration of 'ret' shadows a previous local [-Wshadow] Prefix all the locals in that macro with __ to avoid most of these warnings. Fixes: 492ecee892c2 ("bpf: enable