diff options
| author | Christophe JAILLET <[email protected]> | 2024-06-16 08:32:53 +0200 |
|---|---|---|
| committer | Hans Verkuil <[email protected]> | 2024-06-21 08:57:09 +0200 |
| commit | d2ae63c2f6a34e0104c046dcf5e03675867e0ad3 (patch) | |
| tree | 6f45f224cd067b2a6130c267753b89a8afedf667 /tools/perf/scripts/python | |
| parent | 68594cec291ff9523b9feb3f43fd853dcddd1f60 (diff) | |
media: cx231xx: Constify struct vb2_ops
"struct vb2_ops" are 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:
Before:
======
text data bss dec hex filename
36607 1156 0 37763 9383 drivers/media/usb/cx231xx/cx231xx-417.o
After:
=====
text data bss dec hex filename
36735 1016 0 37751 9377 drivers/media/usb/cx231xx/cx231xx-417.o
Signed-off-by: Christophe JAILLET <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions