On Thu, 26 Feb 2026 21:44:10 +0100,
Christophe JAILLET wrote:
> 
> 'struct codec_connection' are not modified in this driver.
> 
> Constifying these structures moves some data to a read-only section, so
> increases overall security.
> 
> On a x86_64, with allmodconfig:
> Before:
> ======
>    text          data     bss     dec     hex filename
>   10034          3392      12   13438    347e sound/aoa/fabrics/layout.o
> 
> After:
> =====
>    text          data     bss     dec     hex filename
>   10370          3040      12   13422    346e sound/aoa/fabrics/layout.o
> 
> Signed-off-by: Christophe JAILLET <[email protected]>
> ---
> Compile tested only.
> 
> The fabric_data field in struct aoa_codecis is only used in
> sound/aoa/fabrics/layout.c, so there should be no side effect for other
> files that include sound/aoa/aoa.h

Applied to for-next branch now.  Thanks.


Takashi

Reply via email to