diff options
author | Thomas Weißschuh <linux@weissschuh.net> | 2024-12-16 12:29:13 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2025-01-02 15:07:45 -0500 |
commit | 4594a1f827d4a8e2a96f114d7f2afa2171561e09 (patch) | |
tree | 519b9bbdb104296932c1b7f3d67453954b617b40 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | af58c759836b7272236e8ef4773e0926d686a135 (diff) |
scsi: lpfc: Constify 'struct bin_attribute'
The sysfs core now allows instances of 'struct bin_attribute' to be moved
into read-only memory. Make use of that to protect them against accidental
or malicious modifications.
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Link: https://lore.kernel.org/r/20241216-sysfs-const-bin_attr-scsi-v1-6-f0a5e54b3437@weissschuh.net
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions