aboutsummaryrefslogtreecommitdiffstats
path: root/tools/bpf/bpftool/net.c
diff options
context:
space:
mode:
authorQuentin Monnet <[email protected]>2019-08-14 11:37:24 +0000
committerDaniel Borkmann <[email protected]>2019-08-14 20:57:36 +0000
commita9436dca115d121d98e0b30f078f3294ce13fa18 (patch)
tree0d9cbcb6238cc5c3c359ff39209eb616b122612f /tools/bpf/bpftool/net.c
parentMerge git://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf-next (diff)
downloadkernel-a9436dca115d121d98e0b30f078f3294ce13fa18.tar.gz
kernel-a9436dca115d121d98e0b30f078f3294ce13fa18.zip
tools: bpftool: compile with $(EXTRA_WARNINGS)
Compile bpftool with $(EXTRA_WARNINGS), as defined in scripts/Makefile.include, and fix the new warnings produced. Simply leave -Wswitch-enum out of the warning list, as we have several switch-case structures where it is not desirable to process all values of an enum. Remove -Wshadow from the warnings we manually add to CFLAGS, as it is handled in $(EXTRA_WARNINGS). Signed-off-by: Quentin Monnet <[email protected]> Reviewed-by: Jakub Kicinski <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'tools/bpf/bpftool/net.c')
0 files changed, 0 insertions, 0 deletions