diff options
| author | Christophe JAILLET <[email protected]> | 2024-06-24 06:40:38 +0200 |
|---|---|---|
| committer | Hans Verkuil <[email protected]> | 2024-08-09 07:56:38 +0200 |
| commit | d66f9b2a47898ecfa50c80aa59a23002dad3a35a (patch) | |
| tree | dad24dac1ea416793688ba6d81a79bbae8080519 /tools/perf/scripts/python/bin | |
| parent | 0554e280c58b92e548f9d1355087ed096ac02e19 (diff) | |
media: ti: cal: Constify struct media_entity_operations
'struct media_entity_operations' 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, as an example:
Before:
======
text data bss dec hex filename
20694 1394 32 22120 5668 drivers/media/platform/ti/cal/cal-camerarx.o
After:
=====
text data bss dec hex filename
20726 1362 32 22120 5668 drivers/media/platform/ti/cal/cal-camerarx.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