diff options
author | Thomas Weißschuh <linux@weissschuh.net> | 2024-11-15 19:42:49 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-11-15 21:29:16 +0300 |
commit | 5943c0dc7912210be1ab2732e0b663c1082ab543 (patch) | |
tree | 19502553b5ed75f90143df0ef55e9202a05557d7 /rust/helpers/build_bug.c | |
parent | 906c508afdca3487c4273bfeda8abedc8e21047b (diff) | |
download | linux-5943c0dc7912210be1ab2732e0b663c1082ab543.tar.xz |
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 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions