Re: [PATCH] modpost: validate symbol names also in find_elf_symbol

2018-11-20 Thread Masahiro Yamada
On Wed, Oct 24, 2018 at 7:15 AM Sami Tolvanen wrote: > > If an ARM mapping symbol shares an address with a valid symbol, > find_elf_symbol can currently return the mapping symbol instead, as the > symbol is not validated. This can result in confusing warnings: > > WARNING: vmlinux.o(.text+0x18f4

[PATCH] modpost: validate symbol names also in find_elf_symbol

2018-10-23 Thread Sami Tolvanen
If an ARM mapping symbol shares an address with a valid symbol, find_elf_symbol can currently return the mapping symbol instead, as the symbol is not validated. This can result in confusing warnings: WARNING: vmlinux.o(.text+0x18f4028): Section mismatch in reference from the function set_reset