summaryrefslogtreecommitdiffstats
path: root/rust
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2023-10-22 19:06:06 +0200
committerMasahiro Yamada <masahiroy@kernel.org>2023-10-28 14:31:22 +0200
commit50cccec15c48814765895891ca0d95d989b6a419 (patch)
tree3f9b6999351cebf324f3ae087f72cb8994fa1d3e /rust
parentlinux/init: remove __memexit* annotations (diff)
downloadlinux-50cccec15c48814765895891ca0d95d989b6a419.tar.xz
linux-50cccec15c48814765895891ca0d95d989b6a419.zip
modpost: disallow *driver to reference .meminit* sections
Drivers must not reference .meminit* sections, which are discarded when CONFIG_MEMORY_HOTPLUG=n. The reason for whitelisting "*driver" in the section mismatch check was to allow drivers to reference symbols annotated as __devinit or __devexit that existed in the past. Those annotations were removed by the following commits: - 54b956b90360 ("Remove __dev* markings from init.h") - 92e9e6d1f984 ("modpost.c: Stop checking __dev* section mismatches") Remove the stale whitelist. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'rust')
0 files changed, 0 insertions, 0 deletions