]> git.itanic.dy.fi Git - linux-stable/commit
modpost: disallow the combination of EXPORT_SYMBOL and __meminit*
authorMasahiro Yamada <masahiroy@kernel.org>
Sun, 22 Oct 2023 17:06:10 +0000 (02:06 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Sat, 28 Oct 2023 12:31:22 +0000 (21:31 +0900)
commita3df1526da480c089c20868b7f4d486b9f266001
tree4721961952727eefdcf162fe46303a4e4353af9c
parent48cd8df7afd1eef22cf7b125697a6d7c3d168c5c
modpost: disallow the combination of EXPORT_SYMBOL and __meminit*

Theoretically, we could export conditionally-discarded code sections,
such as .meminit*, if all the users can become modular under a certain
condition. However, that would be difficult to control and such a tricky
case has never occurred.

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