diff options
| author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2025-12-29 12:13:29 +0100 |
|---|---|---|
| committer | Manivannan Sadhasivam <mani@kernel.org> | 2026-02-24 16:02:51 +0530 |
| commit | f457c18d7904b22f8b6a9c6475161810085c34c9 (patch) | |
| tree | 699726a1bf427c4208290020151d3fc84b30b1b1 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | b4a31737679576dc8aa6de43d3c10bfad7d3f57e (diff) | |
PCI: endpoint: Constify struct configfs_item_operations and configfs_group_operations
'struct configfs_item_operations' and 'configfs_group_operations' are not
modified in this driver.
Constifying these structures moves some data to a read-only section, so
increases overall security, especially when the structure holds some
function pointers.
On a x86_64, with allmodconfig:
Before:
======
text data bss dec hex filename
27503 12184 256 39943 9c07 drivers/pci/endpoint/pci-ep-cfs.o
After:
=====
text data bss dec hex filename
27855 11832 256 39943 9c07 drivers/pci/endpoint/pci-ep-cfs.o
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Manivannan Sadhasivam <mani@kernel.org>
Link: https://patch.msgid.link/f1f05f1c10c6caf37dd620fa12f508c53536996b.1765705512.git.christophe.jaillet@wanadoo.fr
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
