]> git.itanic.dy.fi Git - linux-stable/commit
modpost: remove more symbol patterns from the section check whitelist
authorMasahiro Yamada <masahiroy@kernel.org>
Sun, 22 Oct 2023 17:06:07 +0000 (02:06 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Sat, 28 Oct 2023 12:31:22 +0000 (21:31 +0900)
commite1dc1bfe5b27842c9e43a1f2d42c34decb0660c3
tree39189589676f0ae13380077caab45f01501356c4
parent50cccec15c48814765895891ca0d95d989b6a419
modpost: remove more symbol patterns from the section check whitelist

These symbol patterns were whitelisted to allow them to reference to
functions with the old __devinit and __devexit annotations.

We stopped doing this a long time ago, for example, commit 6f039790510f
("Drivers: scsi: remove __dev* attributes.") remove those annotations
from the scsi drivers.

Keep *_ops, *_probe, and *_console, otherwise they will really cause
section mismatch warnings.

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