diff options
| author | Christophe JAILLET <[email protected]> | 2024-05-05 09:24:02 +0200 |
|---|---|---|
| committer | Hans Verkuil <[email protected]> | 2024-08-09 07:56:37 +0200 |
| commit | f79f8a8a96046ed08b8ba71dc6ffecbbecec9f21 (patch) | |
| tree | 3f47b8ee918f46a34dfc3fce2a0bdf34670a0fb9 /tools/perf/scripts/python/bin | |
| parent | 677126b274806d8a33e7581c115bcf404b00ac8d (diff) | |
media: i2c: tvp5150: Constify some structures
'vbi_ram_default' and 'tvp5150_config' are not modified in this diver
and are only used as a const struct.
Constifying these structures 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
57197 2936 36 60169 eb09 drivers/media/i2c/tvp5150.o
After:
text data bss dec hex filename
57517 2608 36 60161 eb01 drivers/media/i2c/tvp5150.o
Signed-off-by: Christophe JAILLET <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions