diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2024-07-09 19:41:29 +0200 |
---|---|---|
committer | Nishanth Menon <nm@ti.com> | 2024-08-06 15:33:32 -0500 |
commit | d9483b44c94eba6fa7451caf27cc7e993c8cc568 (patch) | |
tree | e4e19e4444f4c20d660fbd8624861764091c5e7c /tools/perf/scripts/python/syscall-counts.py | |
parent | 8400291e289ee6b2bf9779ff1c83a291501f017b (diff) |
soc: ti: k3-ringacc: Constify struct k3_ring_ops
'struct k3_ring_ops' is not modified in this driver.
Constifying this structure 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
17090 3304 32 20426 4fca drivers/soc/ti/k3-ringacc.o
After:
=====
text data bss dec hex filename
17266 3144 32 20442 4fda drivers/soc/ti/k3-ringacc.o
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/cb9dfc18cdf890afa2c53cd74b0b330d6f1c30ab.1720546863.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Nishanth Menon <nm@ti.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions