aboutsummaryrefslogtreecommitdiffstats
path: root/samples/bpf/task_fd_query_user.c
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2020-10-26 16:20:50 +0000
committerDaniel Borkmann <[email protected]>2020-10-27 15:22:43 +0000
commit343a3e8bc635bd4c58d45a4fe67f9c3a78fbd191 (patch)
tree145e8cb5d04349146adbfe0da23c9d0d65f1e9cc /samples/bpf/task_fd_query_user.c
parentselftest/bpf: Fix profiler test using CO-RE relocation for enums (diff)
downloadkernel-343a3e8bc635bd4c58d45a4fe67f9c3a78fbd191.tar.gz
kernel-343a3e8bc635bd4c58d45a4fe67f9c3a78fbd191.zip
bpf: Fix -Wshadow warnings
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 program stats") Signed-off-by: Arnd Bergmann <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Acked-by: Andrii Nakryiko <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'samples/bpf/task_fd_query_user.c')
0 files changed, 0 insertions, 0 deletions