summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/parallel-perf.py
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2024-09-07 15:51:07 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2024-09-30 09:20:59 +0100
commit4f3333a658a05f7f9dd88d3ba194d665a4f4b19a (patch)
treea96b18944d40562677ee4dad2bb1dbc1ac1be571 /tools/perf/scripts/python/parallel-perf.py
parent3ad9e6396834b66e2b77222e6bea9e5fb08699d6 (diff)
downloadlinux-4f3333a658a05f7f9dd88d3ba194d665a4f4b19a.tar.gz
linux-4f3333a658a05f7f9dd88d3ba194d665a4f4b19a.zip
iio: addac: ad74xxx: Constify struct iio_chan_spec​
'struct iio_chan_spec' are not modified in these drivers. 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 35749 5879 384 42012 a41c drivers/iio/addac/ad74115.o 32242 3297 384 35923 8c53 drivers/iio/addac/ad74413r.o After: ===== text data bss dec hex filename 39109 2519 384 42012 a41c drivers/iio/addac/ad74115.o 33842 1697 384 35923 8c53 drivers/iio/addac/ad74413r.o Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Link: https://patch.msgid.link/da291278e78b983ea2e657a25769f7d82ea2a6d0.1725717045.git.christophe.jaillet@wanadoo.fr Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions