diff options
author | Stanislav Fomichev <sdf@google.com> | 2020-08-06 17:52:25 +0200 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2020-08-07 01:51:11 +0200 |
commit | d48556f45608921fa07cb882f9dd15a8a1203427 (patch) | |
tree | 278c01d582231b446dfcf78f61927a6f9b59681e /tools | |
parent | libbf: Fix uninitialized pointer at btf__parse_raw() (diff) | |
download | linux-d48556f45608921fa07cb882f9dd15a8a1203427.tar.xz linux-d48556f45608921fa07cb882f9dd15a8a1203427.zip |
bpf: Add missing return to resolve_btfids
int sets_patch(struct object *obj) doesn't have a 'return 0' at the end.
Fixes: fbbb68de80a4 ("bpf: Add resolve_btfids tool to resolve BTF IDs in ELF object")
Signed-off-by: Stanislav Fomichev <sdf@google.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20200806155225.637202-1-sdf@google.com
Diffstat (limited to 'tools')
-rw-r--r-- | tools/bpf/resolve_btfids/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/bpf/resolve_btfids/main.c b/tools/bpf/resolve_btfids/main.c index 52d883325a23..4d9ecb975862 100644 --- a/tools/bpf/resolve_btfids/main.c +++ b/tools/bpf/resolve_btfids/main.c @@ -566,6 +566,7 @@ static int sets_patch(struct object *obj) next = rb_next(next); } + return 0; } static int symbols_patch(struct object *obj) |