]> git.baikalelectronics.ru Git - kernel.git/commit
modpost: turn section mismatches to error from fatal()
authorMasahiro Yamada <masahiroy@kernel.org>
Tue, 1 Dec 2020 10:34:18 +0000 (19:34 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Mon, 21 Dec 2020 04:57:08 +0000 (13:57 +0900)
commitc7299d98c00afa81c65d9fa13a18ea923f3281ff
tree0f854c8425d90d373816504ded48c1105d81e6dc
parentd6d692fa21d3057edf457a764832077da8aa44d2
modpost: turn section mismatches to error from fatal()

There is code that reports static EXPORT_SYMBOL a few lines below.
It is not a good idea to bail out here.

I renamed sec_mismatch_fatal to sec_mismatch_warn_only (with logical
inversion) to match to CONFIG_SECTION_MISMATCH_WARN_ONLY.

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