diff options
| author | Christophe JAILLET <[email protected]> | 2024-11-15 16:50:37 +0000 |
|---|---|---|
| committer | Dmitry Torokhov <[email protected]> | 2024-11-19 03:35:24 +0000 |
| commit | 34e77144308ff1efe2e865e68a033ce166f6411e (patch) | |
| tree | ff0d8520f8bc0fdbe9d04f49a605e110eae79c81 /tools/perf/scripts/python/sctop.py | |
| parent | Input: ads7846 - increase xfer array size in 'struct ser_req' (diff) | |
| download | kernel-34e77144308ff1efe2e865e68a033ce166f6411e.tar.gz kernel-34e77144308ff1efe2e865e68a033ce166f6411e.zip | |
Input: cypress-sf - constify struct i2c_device_id
'struct i2c_device_id' 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:
Before:
======
text data bss dec hex filename
6438 618 0 7056 1b90 drivers/input/keyboard/cypress-sf.o
After:
=====
text data bss dec hex filename
6502 554 0 7056 1b90 drivers/input/keyboard/cypress-sf.o
Signed-off-by: Christophe JAILLET <[email protected]>
Link: https://lore.kernel.org/r/4bc3e3b4d10223d9df850fe4ba48f1cefd197082.1731689418.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions
