summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/lists.py
diff options
context:
space:
mode:
authorThomas Weißschuh <linux@weissschuh.net>2024-12-16 20:25:08 +0300
committerPetr Pavlu <petr.pavlu@suse.com>2025-01-26 15:05:23 +0300
commit30d446088866db99b0cf9e6af58ac1427f51f3dd (patch)
tree3094215568c3f3fb7a891a9c53bfe2e090685b33 /scripts/gdb/linux/lists.py
parentc8e0bd579ed35355ea7e3e3190556c9738870ac9 (diff)
downloadlinux-30d446088866db99b0cf9e6af58ac1427f51f3dd.tar.xz
params: Prepare for 'const struct module_attribute *'
The 'struct module_attribute' sysfs callbacks are about to change to receive a 'const struct module_attribute *' parameter. Prepare for that by avoid casting away the constness through container_of() and using const pointers to 'struct param_attribute'. 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-1-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