projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
932ac54
)
bpf: Add missing return to resolve_btfids
author
Stanislav Fomichev
<sdf@google.com>
Thu, 6 Aug 2020 15:52:25 +0000
(08:52 -0700)
committer
Alexei Starovoitov
<ast@kernel.org>
Thu, 6 Aug 2020 23:51:11 +0000
(16:51 -0700)
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
tools/bpf/resolve_btfids/main.c
patch
|
blob
|
history
diff --git
a/tools/bpf/resolve_btfids/main.c
b/tools/bpf/resolve_btfids/main.c
index 52d883325a2368a82731e7b01bc2ecf034cfd436..4d9ecb97586224d645626a32365647549ef36f2a 100644
(file)
--- 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)