diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2024-07-11 21:34:53 +0200 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2024-07-31 17:05:44 +0530 |
commit | da41bac5c89720f9fb8289a03e30ec0b3cb1cc9c (patch) | |
tree | 19ba02caa6ba702d1ecbbebaff120ffa5a244a07 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 29f33f0b442c092d7180b511d8bef871f3be9fed (diff) | |
download | linux-da41bac5c89720f9fb8289a03e30ec0b3cb1cc9c.tar.gz linux-da41bac5c89720f9fb8289a03e30ec0b3cb1cc9c.tar.bz2 linux-da41bac5c89720f9fb8289a03e30ec0b3cb1cc9c.zip |
phy: cadence: Sierra: Constify struct cdns_sierra_vals
'struct cdns_sierra_vals' 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
60521 4310 16 64847 fd4f drivers/phy/cadence/phy-cadence-sierra.o
After:
=====
text data bss dec hex filename
60937 3894 16 64847 fd4f drivers/phy/cadence/phy-cadence-sierra.o
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/0ccfd259fdf40475c89cfb22a64c6388e7c646b4.1720723132.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions