diff options
| author | Christophe JAILLET <[email protected]> | 2024-09-20 20:25:24 +0000 |
|---|---|---|
| committer | Chen-Yu Tsai <[email protected]> | 2024-10-25 15:35:49 +0000 |
| commit | c7e09a613bbddd0eea086e475855aba3b2410148 (patch) | |
| tree | fd56ca2fc31952b09eedb44dbadd469ddac8df2e /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
| parent | clk: sunxi-ng: h616: Add sigma-delta modulation settings for audio PLL (diff) | |
| download | kernel-c7e09a613bbddd0eea086e475855aba3b2410148.tar.gz kernel-c7e09a613bbddd0eea086e475855aba3b2410148.zip | |
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 <[email protected]>
Link: https://patch.msgid.link/44745f27034fa670605cd16966a39b7fe88fe5a6.1726863905.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Chen-Yu Tsai <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions
