acrn-kernel/tools/bpf/bpftool
Jörn-Thorben Hinz a6df06744b bpftool: Don't try to return value from void function in skeleton
A skeleton generated by bpftool previously contained a return followed
by an expression in OBJ_NAME__detach(), which has return type void. This
did not hurt, the bpf_object__detach_skeleton() called there returns
void itself anyway, but led to a warning when compiling with e.g.
-pedantic.

Signed-off-by: Jörn-Thorben Hinz <jthinz@mailbox.tu-berlin.de>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Reviewed-by: Quentin Monnet <quentin@isovalent.com>
Link: https://lore.kernel.org/bpf/20220726133203.514087-1-jthinz@mailbox.tu-berlin.de
2022-07-29 10:43:14 -07:00
..
Documentation bpftool: Rename "bpftool feature list" into "... feature list_builtins" 2022-07-05 11:53:54 +02:00
bash-completion bpftool: Rename "bpftool feature list" into "... feature list_builtins" 2022-07-05 11:53:54 +02:00
skeleton bpftool: Add bpf_cookie to link output 2022-03-15 15:07:27 -07:00
.gitignore
Makefile bpftool: Remove zlib feature test from Makefile 2022-07-05 22:31:17 -07:00
btf.c bpftool: Add btf enum64 support 2022-06-07 10:20:43 -07:00
btf_dumper.c bpftool: Add btf enum64 support 2022-06-07 10:20:43 -07:00
cfg.c
cfg.h
cgroup.c bpftool: implement cgroup tree for BPF_LSM_CGROUP 2022-06-29 13:21:52 -07:00
common.c bpftool: Show also the name of type BPF_OBJ_LINK 2022-06-30 23:48:13 +02:00
feature.c bpftool: Rename "bpftool feature list" into "... feature list_builtins" 2022-07-05 11:53:54 +02:00
gen.c bpftool: Don't try to return value from void function in skeleton 2022-07-29 10:43:14 -07:00
iter.c bpftool: Use libbpf_get_error() to check error 2021-11-14 18:38:13 -08:00
jit_disasm.c
json_writer.c
json_writer.h
link.c bpftool: Use libbpf_bpf_link_type_str 2022-06-02 16:26:38 -07:00
main.c bpftool: Do not check return value from libbpf_set_strict_mode() 2022-06-14 22:18:56 +02:00
main.h bpftool: Remove attach_type_name forward declaration 2022-06-30 16:11:20 +02:00
map.c Revert "bpftool: Use libbpf 1.0 API mode instead of RLIMIT_MEMLOCK" 2022-06-14 22:18:06 +02:00
map_perf_ring.c
net.c bpftool: use new API for attaching XDP program 2022-01-20 21:22:02 -08:00
netlink_dumper.c
netlink_dumper.h
perf.c bpftool, musl compat: Replace nftw with FTW_ACTIONRETVAL 2022-04-25 23:24:16 +02:00
pids.c Revert "bpftool: Use libbpf 1.0 API mode instead of RLIMIT_MEMLOCK" 2022-06-14 22:18:06 +02:00
prog.c bpftool: Replace sizeof(arr)/sizeof(arr[0]) with ARRAY_SIZE macro 2022-07-29 10:40:51 -07:00
struct_ops.c Revert "bpftool: Use libbpf 1.0 API mode instead of RLIMIT_MEMLOCK" 2022-06-14 22:18:06 +02:00
tracelog.c bpftool, musl compat: Replace sys/fcntl.h by fcntl.h 2022-04-25 23:24:28 +02:00
xlated_dumper.c bpftool: Remove usage of reallocarray() 2022-02-23 13:55:01 -08:00
xlated_dumper.h