diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2024-07-11 21:34:54 +0200 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2024-07-31 17:05:44 +0530 |
commit | f75999c525a1d7d6c4425a6a225cabae40ab1721 (patch) | |
tree | a8b210560224e33d0be2f3425e9eb7f4e089b642 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | da41bac5c89720f9fb8289a03e30ec0b3cb1cc9c (diff) | |
download | linux-f75999c525a1d7d6c4425a6a225cabae40ab1721.tar.gz linux-f75999c525a1d7d6c4425a6a225cabae40ab1721.tar.bz2 linux-f75999c525a1d7d6c4425a6a225cabae40ab1721.zip |
phy: cadence: Sierra: Constify a u32[]
'cdns_sierra_pll_mux_table' is not modified in this driver.
And it is only used as a "const u32 *".
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
60937 3894 16 64847 fd4f drivers/phy/cadence/phy-cadence-sierra.o
After:
=====
text data bss dec hex filename
60897 3878 16 64791 fd17 drivers/phy/cadence/phy-cadence-sierra.o
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/43d881d52e3c1632ad197d4c2c18b6c481a13b24.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