diff options
author | 2024-12-02 20:03:00 +0100 | |
---|---|---|
committer | 2024-12-10 13:00:50 -0600 | |
commit | d5bdde0b38c1d17f39ad6d41d16af33357b329b2 (patch) | |
tree | 3be5329a0cbcdf21a60cb71ddbac16d91bd3750e /scripts/generate_rust_analyzer.py | |
parent | PCI/P2PDMA: Constify 'struct bin_attribute' (diff) | |
download | wireguard-linux-d5bdde0b38c1d17f39ad6d41d16af33357b329b2.tar.xz wireguard-linux-d5bdde0b38c1d17f39ad6d41d16af33357b329b2.zip |
PCI/ACPI: 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.
Link: https://lore.kernel.org/r/20241202-sysfs-const-bin_attr-pci-v1-4-c32360f495a7@weissschuh.net
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions