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:08 +0200
committerVinod Koul <vkoul@kernel.org>2024-07-31 17:05:22 +0530
commit86946f25cb23b71d3ebdc3dd5bbb8ec5155c03ce (patch)
tree8988324f3996d703f8f0b1b7c15c838651373ed8 /tools/perf/scripts/python/export-to-sqlite.py
parent1d7eb113f1f0d368afbadf56ffef91d615b1cf41 (diff)
downloadlinux-86946f25cb23b71d3ebdc3dd5bbb8ec5155c03ce.tar.gz
linux-86946f25cb23b71d3ebdc3dd5bbb8ec5155c03ce.tar.bz2
linux-86946f25cb23b71d3ebdc3dd5bbb8ec5155c03ce.zip
phy: cadence-torrent: Constify struct cdns_torrent_vals
'struct cdns_torrent_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 92234 6078 16 98328 18018 drivers/phy/cadence/phy-cadence-torrent.o After: ===== text data bss dec hex filename 93578 4798 16 98392 18058 drivers/phy/cadence/phy-cadence-torrent.o Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Link: https://lore.kernel.org/r/d9d135ee9b806726766a1bc5e1404267939aa637.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