summaryrefslogtreecommitdiff
path: root/arch/m68k
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2021-08-28 12:50:59 +0300
committerMasahiro Yamada <masahiroy@kernel.org>2021-09-03 02:17:21 +0300
commite54dd93a08228b9942d708b133ad3715d92712b0 (patch)
treedfba8e69b96e387e335b366564ff4584b2322785 /arch/m68k
parent1439ebd2ce77242400518d4e6a1e85bebcd8084f (diff)
downloadlinux-e54dd93a08228b9942d708b133ad3715d92712b0.tar.xz
modpost: get the *.mod file path more simply
get_src_version() strips 'o' or 'lto.o' from the end of the object file path (so, postfixlen is 1 or 5), then adds 'mod'. If you look at the code closely, mod->name already holds the base path with the extension stripped. Most of the code changes made by commit 7ac204b545f2 ("modpost: lto: strip .lto from module names") was actually unneeded. sumversion.c does not need strends(), so it can get back local in modpost.c again. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'arch/m68k')
0 files changed, 0 insertions, 0 deletions