diff options
author | 2024-12-22 21:30:25 +0100 | |
---|---|---|
committer | 2024-12-31 07:55:16 -0600 | |
commit | a6a035a83c104694fcec87da1304cb94513c7609 (patch) | |
tree | ab455443a3f85718a46944429ce2962f78024467 /scripts/lib/kdoc/kdoc_files.py | |
parent | dt-bindings: interrupt-controller: arm,gic: Correct VGIC interrupt description (diff) | |
download | wireguard-linux-a6a035a83c104694fcec87da1304cb94513c7609.tar.xz wireguard-linux-a6a035a83c104694fcec87da1304cb94513c7609.zip |
of: 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/20241222-sysfs-const-bin_attr-of-v1-1-99cc2e8c2a55@weissschuh.net
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions