aboutsummaryrefslogtreecommitdiffstats
path: root/mm/debug.c
diff options
context:
space:
mode:
authorThomas Weißschuh <[email protected]>2024-12-27 13:23:23 +0000
committerPetr Pavlu <[email protected]>2025-01-26 12:05:24 +0000
commitf47c0bebed44673c54a6a1870f04a2261db28ca0 (patch)
tree1f56a7ecbf2f0ae7d1fef49aa6f1a141e7b04bb5 /mm/debug.c
parentmodule: sysfs: Drop 'struct module_sect_attr' (diff)
downloadkernel-f47c0bebed44673c54a6a1870f04a2261db28ca0.tar.gz
kernel-f47c0bebed44673c54a6a1870f04a2261db28ca0.zip
module: sysfs: Simplify section attribute allocation
The existing allocation logic manually stuffs two allocations into one. This is hard to understand and of limited value, given that all the section names are allocated on their own anyways. Une one allocation per datastructure. Signed-off-by: Thomas Weißschuh <[email protected]> Reviewed-by: Petr Pavlu <[email protected]> Reviewed-by: Greg Kroah-Hartman <[email protected]> Link: https://lore.kernel.org/r/20241227-sysfs-const-bin_attr-module-v2-4-e267275f0f37@weissschuh.net Signed-off-by: Petr Pavlu <[email protected]>
Diffstat (limited to 'mm/debug.c')
0 files changed, 0 insertions, 0 deletions