Merge branch 'perf/urgent' into perf/core
Merge the latest fixes. Signed-off-by: Ingo Molnar <mingo@kernel.org>
This commit is contained in:
@@ -151,15 +151,15 @@ Elf_Scn *elf_section_by_name(Elf *elf, GElf_Ehdr *ep,
|
||||
|
||||
gelf_getshdr(sec, shp);
|
||||
str = elf_strptr(elf, ep->e_shstrndx, shp->sh_name);
|
||||
if (!strcmp(name, str)) {
|
||||
if (str && !strcmp(name, str)) {
|
||||
if (idx)
|
||||
*idx = cnt;
|
||||
break;
|
||||
return sec;
|
||||
}
|
||||
++cnt;
|
||||
}
|
||||
|
||||
return sec;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
#define elf_section__for_each_rel(reldata, pos, pos_mem, idx, nr_entries) \
|
||||
|
Reference in New Issue
Block a user