diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2024-07-11 19:31:07 +0200 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2024-07-31 17:05:22 +0530 |
commit | 1d7eb113f1f0d368afbadf56ffef91d615b1cf41 (patch) | |
tree | b22f0214d07baa3b1f51a1a094f99ec89e59b6fe /tools/perf/scripts/python/export-to-sqlite.py | |
parent | ad3654812f2cf937679128f18a146d25db9d3a0e (diff) | |
download | linux-1d7eb113f1f0d368afbadf56ffef91d615b1cf41.tar.gz linux-1d7eb113f1f0d368afbadf56ffef91d615b1cf41.tar.bz2 linux-1d7eb113f1f0d368afbadf56ffef91d615b1cf41.zip |
phy: cadence-torrent: Constify struct cdns_torrent_vals_entry
'struct cdns_torrent_vals_entry' 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
85130 13214 16 98360 18038 drivers/phy/cadence/phy-cadence-torrent.o
After:
=====
text data bss dec hex filename
92234 6078 16 98328 18018 drivers/phy/cadence/phy-cadence-torrent.o
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/dcc4e539999a840b3fd8f40fd8fd7523390232ac.1720718240.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