Re: [PATCH 4/6] ASoC: Intel: Skylake: Constify struct snd_soc_tplg_ops

From: Amadeusz Sławiński
Date: Tue May 14 2024 - 03:27:48 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
58844 5282 56 64182 fab6 sound/soc/intel/skylake/skl-topology.o

After:
text data bss dec hex filename
59004 5122 56 64182 fab6 sound/soc/intel/skylake/skl-topology.o

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

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