diff options
| author | Thomas Weißschuh <[email protected]> | 2024-12-16 17:25:08 +0000 |
|---|---|---|
| committer | Petr Pavlu <[email protected]> | 2025-01-26 12:05:23 +0000 |
| commit | 30d446088866db99b0cf9e6af58ac1427f51f3dd (patch) | |
| tree | 3094215568c3f3fb7a891a9c53bfe2e090685b33 /mm/debug.c | |
| parent | module: Put known GPL offenders in an array (diff) | |
| download | kernel-30d446088866db99b0cf9e6af58ac1427f51f3dd.tar.gz kernel-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 <[email protected]>
Reviewed-by: Petr Pavlu <[email protected]>
Link: https://lore.kernel.org/r/20241216-sysfs-const-attr-module-v1-1-3790b53e0abf@weissschuh.net
Signed-off-by: Petr Pavlu <[email protected]>
Diffstat (limited to 'mm/debug.c')
0 files changed, 0 insertions, 0 deletions
