linux/tools/bpf/bpftool
Jiri Benc 72ab55e96e tools: bpftool: silence 'missing initializer' warnings
When building bpf tool, gcc emits piles of warnings:

prog.c: In function ‘prog_fd_by_tag’:
prog.c:101:9: warning: missing initializer for field ‘type’ of ‘struct bpf_prog_info’ [-Wmissing-field-initializers]
  struct bpf_prog_info info = {};
         ^
In file included from /home/storage/jbenc/git/net-next/tools/lib/bpf/bpf.h:26:0,
                 from prog.c:47:
/home/storage/jbenc/git/net-next/tools/include/uapi/linux/bpf.h:925:8: note: ‘type’ declared here
  __u32 type;
        ^

As these warnings are not useful, switch them off.

Signed-off-by: Jiri Benc <jbenc@redhat.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
2018-03-09 10:22:59 +01:00
..
bash-completion tools: bpftool: add bash completion for CFG dump 2018-03-01 18:29:49 -08:00
Documentation tools: bpftool: new command-line option and documentation for 'visual' 2018-03-01 18:29:49 -08:00
cfg.c tools: bpftool: generate .dot graph from CFG information 2018-03-01 18:29:49 -08:00
cfg.h tools: bpftool: detect sub-programs from the eBPF sequence 2018-03-01 18:29:48 -08:00
cgroup.c tools: bpftool: remove new lines from errors 2018-01-04 12:28:46 +01:00
common.c tools: bpftool: improve architecture detection by using ifindex 2018-01-18 01:26:15 +01:00
jit_disasm.c tools: bpftool: improve architecture detection by using ifindex 2018-01-18 01:26:15 +01:00
json_writer.c tools: bpftool: add JSON output for bpftool prog dump xlated * command 2017-10-24 01:25:08 +01:00
json_writer.h tools: bpftool: add JSON output for bpftool prog dump xlated * command 2017-10-24 01:25:08 +01:00
main.c tools: bpftool: add support for quotations in batch files 2018-03-02 09:46:41 +01:00
main.h tools: bpftool: improve architecture detection by using ifindex 2018-01-18 01:26:15 +01:00
Makefile tools: bpftool: silence 'missing initializer' warnings 2018-03-09 10:22:59 +01:00
map.c bpftool: recognize BPF_MAP_TYPE_CPUMAP maps 2018-01-19 23:16:52 +01:00
prog.c tools: bpftool: new command-line option and documentation for 'visual' 2018-03-01 18:29:49 -08:00
xlated_dumper.c tools: bpftool: generate .dot graph from CFG information 2018-03-01 18:29:49 -08:00
xlated_dumper.h tools: bpftool: generate .dot graph from CFG information 2018-03-01 18:29:49 -08:00