]> 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)
commit7cd83a09f2a5ac79a6f5c0bbbb17a376e3562857
tree0f854c8425d90d373816504ded48c1105d81e6dc
parent1f39613d68044adaf63643616401ec690d38935a
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