diff options
author | 2024-12-16 18:25:08 +0100 | |
---|---|---|
committer | 2025-01-26 13:05:23 +0100 | |
commit | 30d446088866db99b0cf9e6af58ac1427f51f3dd (patch) | |
tree | 3094215568c3f3fb7a891a9c53bfe2e090685b33 /scripts/gdb/linux/utils.py | |
parent | module: Put known GPL offenders in an array (diff) | |
download | wireguard-linux-30d446088866db99b0cf9e6af58ac1427f51f3dd.tar.xz wireguard-linux-30d446088866db99b0cf9e6af58ac1427f51f3dd.zip |
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/utils.py')
0 files changed, 0 insertions, 0 deletions