summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/lists.py
diff options
context:
space:
mode:
authorThomas Weißschuh <linux@weissschuh.net>2024-12-27 16:23:23 +0300
committerPetr Pavlu <petr.pavlu@suse.com>2025-01-26 15:05:24 +0300
commitf47c0bebed44673c54a6a1870f04a2261db28ca0 (patch)
tree1f56a7ecbf2f0ae7d1fef49aa6f1a141e7b04bb5 /scripts/gdb/linux/lists.py
parent34f5ec0f8252e2ba83fa5da05d56b6fdb0ebef59 (diff)
downloadlinux-f47c0bebed44673c54a6a1870f04a2261db28ca0.tar.xz
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 <linux@weissschuh.net> Reviewed-by: Petr Pavlu <petr.pavlu@suse.com> Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Link: https://lore.kernel.org/r/20241227-sysfs-const-bin_attr-module-v2-4-e267275f0f37@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