aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/objtool/warn.h
diff options
context:
space:
mode:
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;