diff options
| author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2025-10-26 22:43:36 +0300 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2025-10-27 15:22:48 +0300 |
| commit | d29479abaded34b2b1dab2e17efe96a65eba3d61 (patch) | |
| tree | 21df7c0b8987415a57ea4de8a6a457b2e36c7b2f /include/linux/timerqueue.h | |
| parent | c17fa4cbc546c431ccf13e9354d5d9c1cd247b7c (diff) | |
| download | linux-d29479abaded34b2b1dab2e17efe96a65eba3d61.tar.xz | |
ASoC: renesas: fsi: Constify struct fsi_stream_handler
'struct fsi_stream_handler' is not modified in this driver.
Constifying this structure moves some data to a read-only section, so
increases overall security, especially when the structure holds some
function pointers.
On a x86_64, with allmodconfig:
Before:
======
text data bss dec hex filename
51837 12312 64 64213 fad5 sound/soc/renesas/fsi.o
After:
=====
text data bss dec hex filename
52125 12024 64 64213 fad5 sound/soc/renesas/fsi.o
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://patch.msgid.link/88ca34df9006b74a7596b91714e700bcff666c4b.1761507792.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
