diff options
author | 2025-06-21 20:28:20 +0200 | |
---|---|---|
committer | 2025-07-24 11:27:07 +0100 | |
commit | 238b671ddd3a91d8c3025201a69c661872e8a7b5 (patch) | |
tree | 61aeaf4d613339dc2079bf6af0efc7313408b921 /tools/perf/scripts/python | |
parent | mfd: rohm-bd71828: Constify some structures (diff) | |
download | wireguard-linux-238b671ddd3a91d8c3025201a69c661872e8a7b5.tar.xz wireguard-linux-238b671ddd3a91d8c3025201a69c661872e8a7b5.zip |
mfd: tps65219: Constify struct regmap_irq_sub_irq_map and tps65219_chip_data
'struct regmap_irq_sub_irq_map' and 'struct tps65219_chip_data' are not
modified in this driver.
Constifying these structures moves some data to a read-only section, so
increases overall security.
On a x86_64, with allmodconfig:
Before:
======
text data bss dec hex filename
27804 10016 256 38076 94bc drivers/mfd/tps65219.o
After:
=====
text data bss dec hex filename
27893 9792 256 37941 9435 drivers/mfd/tps65219.o
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/117946696551de41b706ea9b973a7ccaacea5178.1750530460.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions