aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2024-07-11 19:31:06 +0200
committerVinod Koul <vkoul@kernel.org>2024-07-31 17:05:22 +0530
commitad3654812f2cf937679128f18a146d25db9d3a0e (patch)
tree3882900fed01c918ac534229247b50aa2975d7af /tools/perf/scripts/python/export-to-sqlite.py
parentb52a38ab1e157e43a2f5f1d846c4f52ef2105763 (diff)
downloadlinux-ad3654812f2cf937679128f18a146d25db9d3a0e.tar.gz
linux-ad3654812f2cf937679128f18a146d25db9d3a0e.tar.bz2
linux-ad3654812f2cf937679128f18a146d25db9d3a0e.zip
phy: cadence-torrent: Constify struct cdns_reg_pairs
'struct cdns_reg_pairs' 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 78154 20222 16 98392 18058 drivers/phy/cadence/phy-cadence-torrent.o After: ===== text data bss dec hex filename 85130 13214 16 98360 18038 drivers/phy/cadence/phy-cadence-torrent.o Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Link: https://lore.kernel.org/r/803684a6f0c24d7e091dc8d285dd49c6fd31a010.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