]> git.baikalelectronics.ru Git - kernel.git/commit
modpost: show warning if vmlinux is not found when processing modules
authorMasahiro Yamada <masahiroy@kernel.org>
Mon, 1 Jun 2020 05:57:13 +0000 (14:57 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Sat, 6 Jun 2020 14:38:12 +0000 (23:38 +0900)
commit0e1c28fcc513253b3276f3626a9db50197d0b13e
tree5c070389dfde04dff4c84a4bf80af1f1214d1029
parentc940cb18d3543b3714979602b1463fab197fcaca
modpost: show warning if vmlinux is not found when processing modules

check_exports() does not print warnings about unresolved symbols if
vmlinux is missing because there would be too many.

This situation happens when you do 'make modules' from the clean
tree, or compile external modules against a kernel tree that has
not been completely built.

It is dangerous to not check unresolved symbols because you might be
building useless modules. At least it should be warned.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
scripts/mod/modpost.c