]> git.baikalelectronics.ru Git - kernel.git/commit
bpf: Add missing return to resolve_btfids
authorStanislav Fomichev <sdf@google.com>
Thu, 6 Aug 2020 15:52:25 +0000 (08:52 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Thu, 6 Aug 2020 23:51:11 +0000 (16:51 -0700)
commitd60275506d9a82c5291ea30b4fe87c089ec1c496
tree278c01d582231b446dfcf78f61927a6f9b59681e
parentf298ddb7ef2f92509d4ae4ef662dea4d43837e0b
bpf: Add missing return to resolve_btfids

int sets_patch(struct object *obj) doesn't have a 'return 0' at the end.

Fixes: 8b83ae430117 ("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
tools/bpf/resolve_btfids/main.c