summaryrefslogtreecommitdiff
path: root/net/tipc/group.h
diff options
context:
space:
mode:
authorSami Tolvanen <samitolvanen@google.com>2018-10-24 01:15:35 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-02-12 21:47:01 +0300
commitb6293e6c9000c0f4ac4237801b8d4f446c764a6e (patch)
tree3e30dd2f8caf2d209ea7486fa7127c55569e788b /net/tipc/group.h
parent1b63e37679cb38e2e69e09e722c57ac80d42051c (diff)
downloadlinux-b6293e6c9000c0f4ac4237801b8d4f446c764a6e.tar.xz
modpost: validate symbol names also in find_elf_symbol
[ Upstream commit 5818c683a619c534c113e1f66d24f636defc29bc ] 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_devices() to the variable .init.text:$x.0 This change adds a call to is_valid_name to find_elf_symbol, similarly to how it's already used in find_elf_symbol2. Signed-off-by: Sami Tolvanen <samitolvanen@google.com> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net/tipc/group.h')
0 files changed, 0 insertions, 0 deletions