diff options
| author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2025-01-05 22:19:57 +0100 |
|---|---|---|
| committer | Hans Verkuil <hverkuil@xs4all.nl> | 2025-02-21 10:33:08 +0100 |
| commit | 51f76375e3d27177fa211ab653871e5644bcbecb (patch) | |
| tree | 9d609041a7a711634ce175959695f7434e9f54dc /tools/perf/scripts/python | |
| parent | media: dt-bindings: adv7180: Document the 'interrupts' property (diff) | |
| download | linux-51f76375e3d27177fa211ab653871e5644bcbecb.tar.gz linux-51f76375e3d27177fa211ab653871e5644bcbecb.zip | |
media: dvb-usb: Constify struct usb_device_id
'struct usb_device_id' is not modified in these drivers.
Constifying this structure moves some data to a read-only section, so
increase overall security.
In order to do that, struct dvb_usb_device_description (in dvb-usb.h) also
needs to be updated.
On a x86_64, with allmodconfig, as an example:
Before:
======
text data bss dec hex filename
1983 4240 4 6227 1853 drivers/media/usb/dvb-usb/a800.o
After:
=====
text data bss dec hex filename
2079 4144 4 6227 1853 drivers/media/usb/dvb-usb/a800.o
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
