mbox series

[0/4] module: sysfs: Two cleanups and preparation for const struct bin_attribute

Message ID 20241216-sysfs-const-bin_attr-module-v1-0-f81e49e54ce4@weissschuh.net (mailing list archive)
Headers show
Series module: sysfs: Two cleanups and preparation for const struct bin_attribute | expand

Message

Thomas Weißschuh Dec. 16, 2024, 7:16 p.m. UTC
The sysfs core is switching to 'const struct bin_attribute's.
Prepare for that.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
---
Thomas Weißschuh (4):
      module: sysfs: Drop member 'nsections'
      module: sysfs: Simplify section attribute allocation
      module: sysfs: Add notes attributes through attribute_group
      module: sysfs: Use const 'struct bin_attribute'

 kernel/module/sysfs.c | 85 +++++++++++++++++++++++++--------------------------
 1 file changed, 41 insertions(+), 44 deletions(-)
---
base-commit: 2d8308bf5b67dff50262d8a9260a50113b3628c6
change-id: 20241215-sysfs-const-bin_attr-module-be05346937a6

Best regards,