Re: [PATCH 2/6] ASoC: Intel: avs: Constify struct snd_soc_tplg_ops
![](https://secure.gravatar.com/avatar/6d5d12866bad6e4adbc6a1473ad36548.jpg?s=120&d=mm&r=g)
14 May
2024
14 May
'24
9:24 a.m.
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@wanadoo.fr
Reviewed-by: Amadeusz Sławiński amadeuszx.slawinski@linux.intel.com
117
Age (days ago)
117
Last active (days ago)
0 comments
1 participants
participants (1)
-
Amadeusz Sławiński