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:09 +0200
committerVinod Koul <vkoul@kernel.org>2024-07-31 17:05:22 +0530
commitceb6e0435075ad8b44c78a12dbdc3ec1fb4ec301 (patch)
tree1207b1bc832c60328e3f41e8f415de1ec3a53190 /tools/perf/scripts/python/export-to-sqlite.py
parent86946f25cb23b71d3ebdc3dd5bbb8ec5155c03ce (diff)
downloadlinux-ceb6e0435075ad8b44c78a12dbdc3ec1fb4ec301.tar.gz
linux-ceb6e0435075ad8b44c78a12dbdc3ec1fb4ec301.tar.bz2
linux-ceb6e0435075ad8b44c78a12dbdc3ec1fb4ec301.zip
phy: cadence-torrent: Constify a u32[]
'cdns_torrent_refclk_driver_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 93578 4798 16 98392 18058 drivers/phy/cadence/phy-cadence-torrent.o After: ===== text data bss dec hex filename 93606 4790 16 98412 1806c drivers/phy/cadence/phy-cadence-torrent.o Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Link: https://lore.kernel.org/r/34e23ceb6b7b7eb730ee8deee21d231b504dc65f.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