diff options
author | Thomas Weißschuh <linux@weissschuh.net> | 2024-12-16 12:29:16 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2025-01-02 15:07:46 -0500 |
commit | f9d0a8450ee3a945c6ba14624ff4034d155351f1 (patch) | |
tree | 3151f6e099dd9198965627c5c96f900df0a7af7b /tools/perf/scripts/python/export-to-sqlite.py | |
parent | a8116aa2898b01fb17df346cce9e477ab8538c4c (diff) |
scsi: qedi: 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-9-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