summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/lists.py
diff options
context:
space:
mode:
authorThomas Weißschuh <linux@weissschuh.net>2024-12-16 20:25:10 +0300
committerPetr Pavlu <petr.pavlu@suse.com>2025-01-26 15:05:23 +0300
commitf3227ffda07470848abe3cfa2039b21816ce3090 (patch)
tree576fe7369c447a6aa2a7327161ac654333d3337d /scripts/gdb/linux/lists.py
parent38e3fe6595e1fa806c0450b2db666bc46325025e (diff)
downloadlinux-f3227ffda07470848abe3cfa2039b21816ce3090.tar.xz
module: Constify 'struct module_attribute'
These structs are never modified, move them to read-only memory. This makes the API clearer and also prepares for the constification of 'struct attribute' itself. While at it, also constify 'modinfo_attrs_count'. 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-3-3790b53e0abf@weissschuh.net Signed-off-by: Petr Pavlu <petr.pavlu@suse.com>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions