]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ALSA: isa: Mark '*_registered' variables as __ro_after_init
authorLen Bao <len.bao@gmx.us>
Sun, 24 May 2026 15:40:49 +0000 (15:40 +0000)
committerTakashi Iwai <tiwai@suse.de>
Mon, 25 May 2026 07:31:31 +0000 (09:31 +0200)
commit177be86ecc0185595badb2150e97810bb76ddeb2
treef28b9ea9839e787fe721e36885d02485e970f806
parenta7147920c42792b318d222a9a43a45b48acf8d9c
ALSA: isa: Mark '*_registered' variables as __ro_after_init

The '*_registered' variables are initialized only during the init
phase in the '__init' functions and never changed. So, mark them as
__ro_after_init to reduce the attack surface.

Signed-off-by: Len Bao <len.bao@gmx.us>
Link: https://patch.msgid.link/20260524154051.45258-1-len.bao@gmx.us
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/isa/cmi8330.c
sound/isa/cs423x/cs4236.c
sound/isa/es18xx.c
sound/isa/gus/interwave.c
sound/isa/msnd/msnd_pinnacle.c
sound/isa/opl3sa2.c
sound/isa/sb/sb16.c
sound/isa/sscape.c
sound/isa/wavefront/wavefront.c