Searched hist:e54dd93a08228b9942d708b133ad3715d92712b0 (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/scripts/mod/ |
H A D | sumversion.c | diff e54dd93a08228b9942d708b133ad3715d92712b0 Sat Aug 28 04:50:59 CDT 2021 Masahiro Yamada <masahiroy@kernel.org> 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>
|
H A D | modpost.h | diff e54dd93a08228b9942d708b133ad3715d92712b0 Sat Aug 28 04:50:59 CDT 2021 Masahiro Yamada <masahiroy@kernel.org> 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>
|
H A D | modpost.c | diff e54dd93a08228b9942d708b133ad3715d92712b0 Sat Aug 28 04:50:59 CDT 2021 Masahiro Yamada <masahiroy@kernel.org> 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>
|