diff options
author | Stanislav Fomichev <sdf@google.com> | 2020-08-06 08:52:25 -0700 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2020-08-06 16:51:11 -0700 |
commit | d48556f45608921fa07cb882f9dd15a8a1203427 (patch) | |
tree | 278c01d582231b446dfcf78f61927a6f9b59681e /tools/bpf | |
parent | 932ac54a3e59335a847f7682b5124a788ab3c798 (diff) | |
download | linux-d48556f45608921fa07cb882f9dd15a8a1203427.tar.bz2 |
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/bpf')
-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) |