Re: [PATCH 2/6] ASoC: Intel: avs: Constify struct snd_soc_tplg_ops

From: Amadeusz Sławiński
Date: Tue May 14 2024 - 03:27:13 EST


On 5/13/2024 7:37 PM, Christophe JAILLET wrote:
Constifying "struct snd_soc_tplg_ops" moves some data to a read-only
section, so increase overall security.

On a x86_64, with allmodconfig:
Before:
text data bss dec hex filename
28046 794 0 28840 70a8 sound/soc/intel/avs/topology.o

After:
text data bss dec hex filename
28206 614 0 28820 7094 sound/soc/intel/avs/topology.o

Signed-off-by: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx>
---

Reviewed-by: Amadeusz Sławiński <amadeuszx.slawinski@xxxxxxxxxxxxxxx>