diff options
author | 2024-11-15 17:42:49 +0100 | |
---|---|---|
committer | 2024-11-15 19:29:16 +0100 | |
commit | 5943c0dc7912210be1ab2732e0b663c1082ab543 (patch) | |
tree | 19502553b5ed75f90143df0ef55e9202a05557d7 /scripts/lib/kdoc/kdoc_parser.py | |
parent | sysfs: attribute_group: allow registration of const bin_attribute (diff) | |
download | wireguard-linux-5943c0dc7912210be1ab2732e0b663c1082ab543.tar.xz wireguard-linux-5943c0dc7912210be1ab2732e0b663c1082ab543.zip |
driver core: Constify bin_attribute definitions
Mark all 'struct bin_attribute' instances as const to protect against
accidental and malicious modifications.
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Link: https://lore.kernel.org/r/20241115-b4-sysfs-const-bin_attr-group-v1-2-2c9bb12dfc48@weissschuh.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions