diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2024-05-13 19:37:23 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-05-27 01:31:18 +0100 |
commit | 9ff6aaf0f7e99798afeda974c83e410e9e2c3026 (patch) | |
tree | 5e22b650f3ee0b4b6ef37869c4a0b08718b613c7 /sound/soc/sof/topology.c | |
parent | 4a341101337fc158b993417a9d2085815b0201da (diff) |
ASoC: Intel: Skylake: Constify struct snd_soc_tplg_ops
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@wanadoo.fr>
Reviewed-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Link: https://msgid.link/r/48f096b6dc617ecf3ca53211c2a696a4df33b21a.1715526069.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sof/topology.c')
0 files changed, 0 insertions, 0 deletions