diff options
author | 2024-12-16 18:25:09 +0100 | |
---|---|---|
committer | 2025-01-26 13:05:23 +0100 | |
commit | 38e3fe6595e1fa806c0450b2db666bc46325025e (patch) | |
tree | 5c34edc0b99b9f74f04ace818b8e2807e996190f /scripts/generate_rust_analyzer.py | |
parent | params: Prepare for 'const struct module_attribute *' (diff) | |
download | wireguard-linux-38e3fe6595e1fa806c0450b2db666bc46325025e.tar.xz wireguard-linux-38e3fe6595e1fa806c0450b2db666bc46325025e.zip |
module: Handle 'struct module_version_attribute' as const
The structure is always read-only due to its placement in the read-only
section __modver. Reflect this at its usage sites.
Also prepare for the const handling of 'struct module_attribute' itself.
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Reviewed-by: Petr Pavlu <petr.pavlu@suse.com>
Link: https://lore.kernel.org/r/20241216-sysfs-const-attr-module-v1-2-3790b53e0abf@weissschuh.net
Signed-off-by: Petr Pavlu <petr.pavlu@suse.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions