Skip to content

Commit d48556f

Browse files
fomichevAlexei Starovoitov
authored andcommitted
bpf: Add missing return to resolve_btfids
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 <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
1 parent 932ac54 commit d48556f

File tree

1 file changed

+1
-0
lines changed
  • tools/bpf/resolve_btfids

1 file changed

+1
-0
lines changed

tools/bpf/resolve_btfids/main.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -566,6 +566,7 @@ static int sets_patch(struct object *obj)
566566

567567
next = rb_next(next);
568568
}
569+
return 0;
569570
}
570571

571572
static int symbols_patch(struct object *obj)

0 commit comments

Comments
 (0)