Re: [PATCH] ALSA: core: Mark some variables as __ro_after_init

From: Takashi Iwai

Date: Mon May 25 2026 - 03:32:45 EST


On Sun, 24 May 2026 18:29:13 +0200,
Len Bao wrote:
>
> Some variables in the 'ALSA/core' 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@xxxxxx>

Applied to for-next branch. Thanks.


Takashi