Skip to content

Commit

Permalink
bpf: Add missing return to resolve_btfids
Browse files Browse the repository at this point in the history
int sets_patch(struct object *obj) doesn't have a 'return 0' at the end.

Fixes: fbbb68d ("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
  • Loading branch information
Stanislav Fomichev authored and Alexei Starovoitov committed Aug 6, 2020
1 parent 932ac54 commit d48556f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/bpf/resolve_btfids/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -566,6 +566,7 @@ static int sets_patch(struct object *obj)

next = rb_next(next);
}
return 0;
}

static int symbols_patch(struct object *obj)
Expand Down

0 comments on commit d48556f

Please sign in to comment.