Re: [PATCH] ALSA: drivers: Mark some variables as __ro_after_init
From: Takashi Iwai
Date: Mon May 25 2026 - 03:33:16 EST
On Sun, 24 May 2026 18:52:48 +0200,
Len Bao wrote:
>
> Some variables in the 'ALSA/drivers' 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