summaryrefslogtreecommitdiff
path: root/tools/objtool/warn.h
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2020-03-16 12:36:53 +0300
committerPeter Zijlstra <peterz@infradead.org>2020-03-25 20:28:29 +0300
commit53d20720bbc8718ef86fdfe53dec0accfb593ef8 (patch)
tree6faa114eafaaf237759e253acbbf28f1b7c6440a /tools/objtool/warn.h
parent2a362ecc3ec9632aeea4b9a9062db91b2bd9975a (diff)
downloadlinux-53d20720bbc8718ef86fdfe53dec0accfb593ef8.tar.xz
objtool: Rename find_containing_func()
For consistency; we have: find_symbol_by_offset() / find_symbol_containing() find_func_by_offset() / find_containing_func() fix that. Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Reviewed-by: Miroslav Benes <mbenes@suse.cz> Acked-by: Josh Poimboeuf <jpoimboe@redhat.com> Link: https://lkml.kernel.org/r/20200324160924.558470724@infradead.org
Diffstat (limited to 'tools/objtool/warn.h')
-rw-r--r--tools/objtool/warn.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/objtool/warn.h b/tools/objtool/warn.h
index cbb0a02b7480..7799f60de80a 100644
--- a/tools/objtool/warn.h
+++ b/tools/objtool/warn.h
@@ -21,7 +21,7 @@ static inline char *offstr(struct section *sec, unsigned long offset)
char *name, *str;
unsigned long name_off;
- func = find_containing_func(sec, offset);
+ func = find_func_containing(sec, offset);
if (func) {
name = func->name;
name_off = offset - func->offset;