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
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user