diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2024-09-20 23:25:24 +0300 |
---|---|---|
committer | Chen-Yu Tsai <wens@csie.org> | 2024-10-25 18:35:49 +0300 |
commit | c7e09a613bbddd0eea086e475855aba3b2410148 (patch) | |
tree | fd56ca2fc31952b09eedb44dbadd469ddac8df2e /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | d0c322b6e4bff8cc0e40ee4983bf2ab1f7f680f0 (diff) | |
download | linux-c7e09a613bbddd0eea086e475855aba3b2410148.tar.xz |
clk: sunxi-ng: Constify struct ccu_reset_map
'struct ccu_reset_map' are not modified in these drivers.
Constifying this structure moves some data to a read-only section, so
increase overall security.
On a x86_64, with allmodconfig, as an example:
Before:
======
text data bss dec hex filename
1533 2224 0 3757 ead drivers/clk/sunxi-ng/ccu-sun20i-d1-r.o
After:
=====
text data bss dec hex filename
1597 2160 0 3757 ead drivers/clk/sunxi-ng/ccu-sun20i-d1-r.o
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://patch.msgid.link/44745f27034fa670605cd16966a39b7fe88fe5a6.1726863905.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions